From 34ce6b3fc15418401733913ae2afcdebd4a8657b 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 d48ec6c469..453824dfb3 100644 --- a/test/plugins/test_importadded.py +++ b/test/plugins/test_importadded.py @@ -57,7 +57,7 @@ def setUp(self): 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 ad6b837f50..b282277e23 100644 --- a/test/test_importer.py +++ b/test/test_importer.py @@ -440,7 +440,7 @@ def setUp(self): 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 c9a1026e16f031a8af16dea1554eb69093202241 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 4effa47f82..c0d785d6e2 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 adbb55750f407ed1953fe6a296e50a71da66389b 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 453824dfb3..608afb3992 100644 --- a/test/plugins/test_importadded.py +++ b/test/plugins/test_importadded.py @@ -57,7 +57,7 @@ def setUp(self): 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 b282277e23..a28b646cf6 100644 --- a/test/test_importer.py +++ b/test/test_importer.py @@ -440,7 +440,7 @@ def setUp(self): 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()