Ensure that renamed playlists aren't created
This commit is contained in:
parent
42e96ebdcd
commit
a0fae47e90
@ -958,6 +958,8 @@ class BaseStoredPlaylistsControllerTest(object):
|
||||
|
||||
def test_rename_unknown_playlist(self):
|
||||
self.stored.rename(Playlist(), 'test2')
|
||||
test = lambda: self.stored.get(name='test2')
|
||||
self.assertRaises(LookupError, test)
|
||||
|
||||
def test_save(self):
|
||||
# FIXME should we handle playlists without names?
|
||||
|
||||
Loading…
Reference in New Issue
Block a user