#NEWLINE# def test_status_code( scheme , tmpdir ) : #NEWLINE# #INDENT# 'Ensure that we can read the status code' #NEWLINE# url = ( scheme + '://httpbin.org/' ) #NEWLINE# with vcr . use_cassette ( str ( tmpdir . join ( 'atts.yaml' ) ) ) : #NEWLINE# #INDENT# status_code = requests . get ( url ) . status_code #NEWLINE# #UNINDENT# with vcr . use_cassette ( str ( tmpdir . join ( 'atts.yaml' ) ) ) : #NEWLINE# #INDENT# assert ( status_code == requests . get ( url ) . status_code )