jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] One hasExtension() call was overlooked ......................................................................
[FIX] One hasExtension() call was overlooked
Change-Id: I0dfb3304f7a848df2da4ea3746b6adc2a1576bd9 --- M tests/page_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/page_tests.py b/tests/page_tests.py index dca5d2f..0c6c259 100644 --- a/tests/page_tests.py +++ b/tests/page_tests.py @@ -311,7 +311,7 @@ Test the integration with Extension:Disambiguator """ - if not site.hasExtension('Disambiguator', False): + if not site.has_extension('Disambiguator'): raise unittest.SkipTest('Disambiguator extension not loaded on test site') pg = pywikibot.Page(site, 'Random') pg._pageprops = set(['disambiguation', ''])
pywikibot-commits@lists.wikimedia.org