#NEWLINE# def test_delete( self ) : #NEWLINE# #INDENT# self . token_login ( ) #NEWLINE# cassette_name = self . cassette_name ( 'delete' ) #NEWLINE# with self . recorder . use_cassette ( cassette_name ) : #NEWLINE# #INDENT# repository = self . gh . repository ( 'github3py' , 'delete_contents' ) #NEWLINE# hook = repository . hook ( 7096472 ) #NEWLINE# deleted = hook . delete ( ) #NEWLINE# #UNINDENT# assert ( deleted is True )