Support all MB entity URLs in FileLookup

This commit is contained in:
Philipp Wolfer
2022-01-27 17:01:57 +01:00
parent 97a272bd3a
commit d89c14d3ea
2 changed files with 2 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ class BrowserLookupTest(PicardTestCase):
def test_mbid_lookup_browser_fallback(self):
mbid = '4836aa50-a9ae-490a-983b-cfc8efca92de'
for entity in {'area', 'artist', 'label', 'url', 'work'}:
for entity in {'area', 'artist', 'instrument', 'label', 'place', 'series', 'url', 'work'}:
with patch.object(webbrowser2, 'open') as mock_open:
uri = '%s:%s' % (entity, mbid)
result = self.lookup.mbid_lookup(uri)