#NEWLINE# def test_generate_cassette_name_with_instance( self ) : #NEWLINE# #INDENT# serializer = JSONSerializer ( ) #NEWLINE# assert ( os . path . join ( 'fake_dir' , 'cassette_name.json' ) == serializer . generate_cassette_name ( serializer . cassette_dir , self . cassette_name ) )