https://travis-ci.org/wikimedia/pywikibot/jobs/362524875#L4033
______________ TestValidTemplate.test_archivebot_archiveheader_io ______________ self = <tests.l10n_tests.TestValidTemplate testMethod=test_archivebot_archiveheader_io> def test_template(self): """Test validity of template.""" lang = site.lang if lang not in keys: return msg = i18n.twtranslate(lang, package, fallback=False) if msg: # check whether the message contains a template templates = extract_templates_and_params_regex_simple(msg) self.assertIsInstance(templates, list) self.assertGreater(len(templates), 0) # known problem if site.code == 'simple': raise unittest.SkipTest( "'simple' wiki has 'en' language code but " "missing template. Must be solved by the " "corresponding script.") # check whether template exists title = templates[0][0] page = pywikibot.Page(site, title, ns=10) > self.assertTrue(page.exists()) E AssertionError: False is not true tests/l10n_tests.py:52: AssertionError _________ TestValidTemplate.test_redirect_broken_redirect_template_io __________ self = <tests.l10n_tests.TestValidTemplate testMethod=test_redirect_broken_redirect_template_io> def test_template(self): """Test validity of template.""" lang = site.lang if lang not in keys: return msg = i18n.twtranslate(lang, package, fallback=False) if msg: # check whether the message contains a template templates = extract_templates_and_params_regex_simple(msg) self.assertIsInstance(templates, list) self.assertGreater(len(templates), 0) # known problem if site.code == 'simple': raise unittest.SkipTest( "'simple' wiki has 'en' language code but " "missing template. Must be solved by the " "corresponding script.") # check whether template exists title = templates[0][0] page = pywikibot.Page(site, title, ns=10) > self.assertTrue(page.exists()) E AssertionError: False is not true