test find album "what" artist "what" command

This commit is contained in:
Johannes Knutsen 2010-03-30 01:29:07 +02:00
parent 81885d27d7
commit ecfd774e64

View File

@ -913,6 +913,10 @@ class MusicDatabaseHandlerTest(unittest.TestCase):
result = self.h.handle_request(u'find "somethingelse" "what"')
self.assert_(u'ACK Unknown command' in result[0])
def test_find_album_and_artist(self):
result = self.h.handle_request(u'find album "album_what" artist "artist_what"')
self.assert_(u'OK' in result)
def test_findadd(self):
result = self.h.handle_request(u'findadd "album" "what"')
self.assert_(u'OK' in result)