jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] site tests: Correct debug output ......................................................................
[FIX] site tests: Correct debug output
The patch 3fd46e9a assumed that the links were actual Link instances but are actually Page instances so the correct methods need to be used.
Change-Id: I7617e643d568973b76322fd3cfe97d0e930c25f3 --- M tests/site_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/site_tests.py b/tests/site_tests.py index b58bbd5..50ec5d5 100644 --- a/tests/site_tests.py +++ b/tests/site_tests.py @@ -374,7 +374,7 @@ print('FAILURE wrt T92856:') print(u'Sym. difference: "{0}"'.format( u'", "'.join( - u'{0}@{1}'.format(link.namespace, link.title) + u'{0}@{1}'.format(link.namespace(), link.title(withNamespace=False)) for link in namespace_links ^ links))) self.assertCountEqual( set(mysite.pagelinks(mainpage, namespaces=[0, 1])) - links, [])