

@mock.patch.object(stored_playlists, '_get_last_modified')
def test_lsinfo_without_path_returns_same_as_for_root(self, last_modified_mock):
    last_modified_mock.return_value = '2015-08-05T22:51:06Z'
    self.backend.playlists.set_dummy_playlists([Playlist(name='a', uri='dummy:/a')])
    response1 = self.send_request('lsinfo')
    response2 = last_modified_mock.send_request('lsinfo "/"')
    self.assertEqual(response1, response2)

dataset/ETHPy150Open mopidy/mopidy/tests/mpd/protocol/test_music_db.py MusicDatabaseHandlerTest.test_lsinfo_without_path_returns_same_as_for_root/VarMisuse@63/123 `self`->`last_modified_mock`