From f52079071376bc230a056c8e9edd9bf94205837c Mon Sep 17 00:00:00 2001 From: valrus Date: Sat, 11 Jan 2025 20:03:28 -0800 Subject: [PATCH 1/3] s/macthin/matching/ --- test/plugins/test_importadded.py | 2 +- test/test_importer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/plugins/test_importadded.py b/test/plugins/test_importadded.py index d48ec6c46..453824dfb 100644 --- a/test/plugins/test_importadded.py +++ b/test/plugins/test_importadded.py @@ -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.GOOD self.importer = self.setup_importer() self.importer.add_choice(importer.action.APPLY) diff --git a/test/test_importer.py b/test/test_importer.py index ad6b837f5..b282277e2 100644 --- a/test/test_importer.py +++ b/test/test_importer.py @@ -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.GOOD def tearDown(self): super().tearDown() From d298738612323341e2462801b6d67acd28f02de3 Mon Sep 17 00:00:00 2001 From: valrus Date: Sat, 11 Jan 2025 20:03:38 -0800 Subject: [PATCH 2/3] add missing space in comment --- beets/test/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/test/helper.py b/beets/test/helper.py index 4effa47f8..c0d785d6e 100644 --- a/beets/test/helper.py +++ b/beets/test/helper.py @@ -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. """ From 99d2da66dc8196c60a85786c5d0f965b4f0a4c45 Mon Sep 17 00:00:00 2001 From: valrus Date: Sat, 11 Jan 2025 20:41:19 -0800 Subject: [PATCH 3/3] use actual value of matcher, not typo'd one --- test/plugins/test_importadded.py | 2 +- test/test_importer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/plugins/test_importadded.py b/test/plugins/test_importadded.py index 453824dfb..608afb399 100644 --- a/test/plugins/test_importadded.py +++ b/test/plugins/test_importadded.py @@ -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.matching = AutotagStub.GOOD + self.matcher.matching = AutotagStub.IDENT self.importer = self.setup_importer() self.importer.add_choice(importer.action.APPLY) diff --git a/test/test_importer.py b/test/test_importer.py index b282277e2..a28b646cf 100644 --- a/test/test_importer.py +++ b/test/test_importer.py @@ -440,7 +440,7 @@ class ImportTest(ImportTestCase): self.prepare_album_for_import(1) self.setup_importer() self.matcher = AutotagStub().install() - self.matcher.matching = AutotagStub.GOOD + self.matcher.matching = AutotagStub.IDENT def tearDown(self): super().tearDown()