Page MenuHomePhabricator

test_site_link method of link_tests.TestSiteLink fails with AssertionError
Closed, ResolvedPublic

Description

After rPWBC098fda this test fails:

C:\pwb\GIT\core>pwb link_tests -v TestSiteLink.test_site_link
tests: max_retries reduced from 15 to 1
test_site_link (__main__.TestSiteLink)
Test parsing of title. ... FAIL

======================================================================
FAIL: test_site_link (__main__.TestSiteLink)
Test parsing of title.
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".\tests\link_tests.py", line 1051, in test_site_link
    'Foobar', Namespace.MAIN, 'en', 'wikipedia')
  File ".\tests\link_tests.py", line 1043, in _test_link
    self.assertEqual(link.title, title)
AssertionError: 'enwiki' != 'Foobar'
- enwiki
+ Foobar


----------------------------------------------------------------------
Ran 1 test in 1.039s

FAILED (failures=1)

C:\pwb\GIT\core>