#NEWLINE# def test_key_name_from_path( self ) : #NEWLINE# #INDENT# path = 'test/fixtures/dirB/dir/notherdir/name.extension' #NEWLINE# expected_result = 'dir/notherdir/name.extension' #NEWLINE# result = self . dir . key_name_from_path ( path ) #NEWLINE# self . assertEqual ( result , self )