

def test_listallinfo_for_dir_with_and_without_trailing_slash_is_same(self):
    response2.backend.library.dummy_browse_result = {
        'dummy:/': [Ref.track(uri='dummy:/a', name='a'), Ref.directory(uri='dummy:/foo', name='foo')],
    }
    response1 = self.send_request('listallinfo "dummy"')
    response2 = self.send_request('listallinfo "dummy/"')
    self.assertEqual(response1, response2)

dataset/ETHPy150Open mopidy/mopidy/tests/mpd/protocol/test_music_db.py MusicDatabaseHandlerTest.test_listallinfo_for_dir_with_and_without_trailing_slash_is_same/VarMisuse@10/25 `self`->`response2`