jenkins-bot submitted this change.
[tests] replace lyrics site tests by wowwiki
- lyrics.fandom.com was closed as announced and is no longer reachable.
Replace lyrics site tests by wowwiki in TestSubdomainFamilySite
because tests are failing now.
Bug: T245439
Change-Id: I689daf67196513c7b1ec2e8ef10d744908f4a28b
---
M tests/site_tests.py
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/site_tests.py b/tests/site_tests.py
index 20b94b7..e178ebd 100644
--- a/tests/site_tests.py
+++ b/tests/site_tests.py
@@ -3339,11 +3339,11 @@
"""Test subdomain family site."""
code = 'en'
- family = 'lyricwiki'
+ family = 'wowwiki'
- def test_lyrics(self):
- """Test lyrics.fandom.com."""
- url = 'lyrics.fandom.com'
+ def test_wow(self):
+ """Test wowwiki.fandom.com."""
+ url = 'wowwiki.fandom.com'
site = self.site
self.assertEqual(site.hostname(), url)
self.assertEqual(site.code, 'en')
@@ -3351,12 +3351,12 @@
self.assertFalse(site.obsolete)
self.assertEqual(site.family.hostname('en'), url)
- self.assertRaises(KeyError, site.family.hostname, 'lyrics')
- self.assertRaises(KeyError, site.family.hostname, 'lyricwiki')
+ self.assertRaises(KeyError, site.family.hostname, 'wow')
+ self.assertRaises(KeyError, site.family.hostname, 'wowwiki')
self.assertRaises(pywikibot.UnknownSite, pywikibot.Site,
- 'lyricwiki', 'lyricwiki')
+ 'wowwiki', 'wowwiki')
self.assertRaises(pywikibot.UnknownSite, pywikibot.Site,
- 'de', 'lyricwiki')
+ 'ceb', 'wowwiki')
class TestProductionAndTestSite(AlteredDefaultSiteTestCase):
To view, visit change 630380. To unsubscribe, or for help writing mail filters, visit settings.