1
0

fix: Update expected values in test for correct parsing of names

This commit is contained in:
Jon Michael Aanes (aider) 2025-03-16 22:11:05 +01:00
parent d8e8704a4a
commit c702027a76

View File

@ -9,7 +9,7 @@ from personal_data.fetchers.myanimelist import parse_name
('"Soundscape"', 'Soundscape', None),
('"Soundscape (サウンドスケープ)"', 'Soundscape', 'サウンドスケーブ'),
('1: "Soundscape"', 'Soundscape', None),
('2: "Soundscape (サウンドスケー)"', 'Soundscape', 'サウンドスケー'),
('2: "Soundscape (サウンドスケー)"', 'Soundscape', 'サウンドスケー'),
],
)
def test_parse_name(input_str, expected_group1, expected_group2):