Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Steps to replicate the issue** (include links if applicable):
`pwb wikibase_tests -v TestOwnClient`
**What happens?**:
======================================================================
FAIL: test_page_from_repository_wikidatatest
(__main__.TestOwnClient.test_page_from_repository_wikidatatest)
Test that page_from_repository method works for wikibase too on
wikidata:test
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\pwb\GIT\core\tests\aspects.py", line 701, in wrapped_method
func(self, key)
File "D:\pwb\GIT\core\tests\wikibase_tests.py", line 2350, in
test_page_from_repository
self.assertEqual(page.title(), self.sites[key]['title'])
AssertionError: 'Wikidata:Main Page' != 'Page
\\[\\[(wikidata\\:)?test\\:Q5296\\]\\] is a redirect page\\.'
- Wikidata:Main Page
+ Page \[\[(wikidata\:)?test\:Q5296\]\] is a redirect page\.
----------------------------------------------------------------------
Ran 4 tests in 4.519s
FAILED (failures=1)
**What should have happened instead?**:
**Software version** (skip for WMF-hosted wikis like Wikipedia):
**Other information** (browser name/version, screenshots, etc.):
TASK DETAIL
https://phabricator.wikimedia.org/T333054
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, PotsdamLamb, Jyoo1011, JohnsonLee01,
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Framawiki,
Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb,
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]