From f52079071376bc230a056c8e9edd9bf94205837c Mon Sep 17 00:00:00 2001 From: valrus Date: Sat, 11 Jan 2025 20:03:28 -0800 Subject: [PATCH 1/4] 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/4] 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/4] 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() From 5685cf43cf14a03e7be2e8d3c16866c8ea772daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Sat, 8 Feb 2025 08:52:35 +0000 Subject: [PATCH 4/4] Align musica lyrics source expected lyrics with whats returned --- test/plugins/lyrics_pages.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/plugins/lyrics_pages.py b/test/plugins/lyrics_pages.py index 84c9e2441..2d681e111 100644 --- a/test/plugins/lyrics_pages.py +++ b/test/plugins/lyrics_pages.py @@ -456,16 +456,6 @@ lyrics_pages = [ LyricsPage.make( "https://www.musica.com/letras.asp?letra=59862", """ - Lady Madonna, children at your feet - Wonder how you manage to make ends meet - Who finds the money when you pay the rent? - Did you think that money was heaven sent? - - Friday night arrives without a suitcase - Sunday morning creeping like a nun - Monday's child has learned to tie his bootlace - See how they run - Lady Madonna, baby at your breast Wonders how you manage to feed the rest