Fix matcher typo (#5589)

Fixes a confusing typo when setting the MusicBrainz matcher in a few
tests. It looks like the matcher defaults to `IDENT` so change it to
that, since that would have been the value used in the tests with the
typo.
This commit is contained in:
Šarūnas Nejus 2025-02-08 09:00:13 +00:00 committed by GitHub
commit b6d24ecc1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -675,7 +675,7 @@ class ImportSessionFixture(ImportSession):
>>> importer.run()
This imports ``/path/to/import`` into `lib`. It skips the first
album and imports thesecond one with metadata from the tags. For the
album and imports the second one with metadata from the tags. For the
remaining albums, the metadata from the autotagger will be applied.
"""

View file

@ -57,7 +57,7 @@ class ImportAddedTest(PluginMixin, ImportTestCase):
os.path.getmtime(mfile.path) for mfile in self.import_media
)
self.matcher = AutotagStub().install()
self.matcher.macthin = AutotagStub.GOOD
self.matcher.matching = AutotagStub.IDENT
self.importer = self.setup_importer()
self.importer.add_choice(importer.action.APPLY)

View file

@ -440,7 +440,7 @@ class ImportTest(ImportTestCase):
self.prepare_album_for_import(1)
self.setup_importer()
self.matcher = AutotagStub().install()
self.matcher.macthin = AutotagStub.GOOD
self.matcher.matching = AutotagStub.IDENT
def tearDown(self):
super().tearDown()