diff --git a/tests/generate_family_file_tests.py b/tests/generate_family_file_tests.py index e6f875d74d..4282e81682 100755 --- a/tests/generate_family_file_tests.py +++ b/tests/generate_family_file_tests.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """Test generate_family_file script.""" # -# (C) Pywikibot team, 2018-2024 +# (C) Pywikibot team, 2018-2025 # # Distributed under the terms of the MIT license. # @@ -91,12 +91,10 @@ def test_attributes_after_run(self): with self.subTest(test='Test whether default is loaded'): self.assertIn(self.site.lang, gen.wikis) - # Subtest fails on musicbrainz (T130381) and wsbeta (T243669) - if self.site.family.name not in ('wsbeta', 'musicbrainz'): - with self.subTest(test='Test element counts'): - if self.site.lang not in gen.prefixes: - gen.prefixes.append(self.site.lang) - self.assertCountEqual(gen.prefixes, gen.wikis) + with self.subTest(test='Test element counts'): + if self.site.lang not in gen.prefixes: + gen.prefixes.append(self.site.lang) + self.assertCountEqual(gen.prefixes, gen.wikis) # test creating Site from url # only test Sites for downloaded wikis (T241413)