mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 16:34:12 +01:00
Fix typing issues in tests
This commit is contained in:
parent
8f53a2e86a
commit
db30e6b3b9
1 changed files with 4 additions and 0 deletions
|
|
@ -674,6 +674,7 @@ class MBLibraryTest(MusicBrainzTestCase):
|
|||
) as gp:
|
||||
gp.side_effect = side_effect
|
||||
album = self.mb.album_for_id("d2a6f856-b553-40a0-ac54-a321e8e2da02")
|
||||
assert album
|
||||
assert album.country == "US"
|
||||
|
||||
def test_pseudo_releases_with_empty_links(self):
|
||||
|
|
@ -691,6 +692,7 @@ class MBLibraryTest(MusicBrainzTestCase):
|
|||
) as gp:
|
||||
gp.side_effect = side_effect
|
||||
album = self.mb.album_for_id("d2a6f856-b553-40a0-ac54-a321e8e2da02")
|
||||
assert album
|
||||
assert album.country is None
|
||||
|
||||
def test_pseudo_releases_without_links(self):
|
||||
|
|
@ -708,6 +710,7 @@ class MBLibraryTest(MusicBrainzTestCase):
|
|||
) as gp:
|
||||
gp.side_effect = side_effect
|
||||
album = self.mb.album_for_id("d2a6f856-b553-40a0-ac54-a321e8e2da02")
|
||||
assert album
|
||||
assert album.country is None
|
||||
|
||||
def test_pseudo_releases_with_unsupported_links(self):
|
||||
|
|
@ -734,6 +737,7 @@ class MBLibraryTest(MusicBrainzTestCase):
|
|||
) as gp:
|
||||
gp.side_effect = side_effect
|
||||
album = self.mb.album_for_id("d2a6f856-b553-40a0-ac54-a321e8e2da02")
|
||||
assert album
|
||||
assert album.country is None
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue