Fix formatting

This commit is contained in:
Stein Magnus Jodal 2010-08-09 12:20:59 +02:00
parent caca95378b
commit d2aa7c9d21
2 changed files with 6 additions and 3 deletions

View File

@ -680,7 +680,9 @@ class MpdFrontend(object):
Lists all tags of the specified type. ``TYPE`` should be ``album``,
``artist``, ``date``, or ``genre``.
``ARTIST`` is an optional parameter when type is ``album``, ``date``, or ``genre``
``ARTIST`` is an optional parameter when type is ``album``,
``date``, or ``genre``.
This filters the result list by an artist.
*GMPC:*

View File

@ -45,7 +45,8 @@ class MusicDatabaseHandlerTest(unittest.TestCase):
self.assertEqual(result[0], u'ACK [2@0] {find} incorrect arguments')
def test_find_album_and_artist(self):
result = self.h.handle_request(u'find album "album_what" artist "artist_what"')
result = self.h.handle_request(
u'find album "album_what" artist "artist_what"')
self.assert_(u'OK' in result)
def test_findadd(self):
@ -75,7 +76,7 @@ class MusicDatabaseHandlerTest(unittest.TestCase):
def test_list_album_with_artist(self):
result = self.h.handle_request(u'list "album" "anartist"')
self.assert_(u'OK' in result)
def test_list_album_artist_with_artist_without_quotes(self):
result = self.h.handle_request(u'list album artist "anartist"')
self.assert_(u'OK' in result)