mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 21:42:48 +01:00
BPD tests: use canonical capitalisation of tags
This commit is contained in:
parent
4c627cbacb
commit
3eaf0f7a19
1 changed files with 7 additions and 8 deletions
|
|
@ -429,15 +429,14 @@ class BPDTest(unittest.TestCase, TestHelper):
|
|||
def test_cmd_tagtypes(self):
|
||||
with self.run_bpd() as client:
|
||||
response = client.send_command('tagtypes')
|
||||
types = {tag.lower() for tag in response.data['tag']}
|
||||
self.assertEqual({
|
||||
'artist', 'artistsort', 'album', 'albumsort', 'albumartist',
|
||||
'albumartistsort', 'title', 'track', 'name', 'genre', 'date',
|
||||
'composer', 'performer', 'comment', 'disc', 'label',
|
||||
'musicbrainz_artistid', 'musicbrainz_albumid',
|
||||
'musicbrainz_albumartistid', 'musicbrainz_trackid',
|
||||
'musicbrainz_releasetrackid', 'musicbrainz_workid',
|
||||
}, types)
|
||||
'Artist', 'ArtistSort', 'Album', 'AlbumSort', 'AlbumArtist',
|
||||
'AlbumArtistSort', 'Title', 'Track', 'Name', 'Genre', 'Date',
|
||||
'Composer', 'Performer', 'Comment', 'Disc', 'Label',
|
||||
'OriginalDate', 'MUSICBRAINZ_ARTISTID', 'MUSICBRAINZ_ALBUMID',
|
||||
'MUSICBRAINZ_ALBUMARTISTID', 'MUSICBRAINZ_TRACKID',
|
||||
'MUSICBRAINZ_RELEASETRACKID', 'MUSICBRAINZ_WORKID',
|
||||
}, set(response.data['tag']))
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_tagtypes_mask(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue