#NEWLINE# def test_refs_raises_unprocessable_exception( self ) : #NEWLINE# #INDENT# 'Verify github3.exceptions.UnprocessableResponseBody is raised.' #NEWLINE# cassette_name = self . cassette_name ( 'invalid_refs' ) #NEWLINE# with self . recorder . use_cassette ( cassette_name ) : #NEWLINE# #INDENT# repository = self . gh . repository ( 'sigmavirus24' , 'github3.py' ) #NEWLINE# assert ( cassette_name is not None ) #NEWLINE# with pytest . raises ( exc . UnprocessableResponseBody ) : #NEWLINE# #INDENT# list ( repository . refs ( 'heads/develop' ) )