Page MenuHomePhabricator

test_template of l10n.TestValidTemplate fails for several sites
Closed, ResolvedPublic

Description

======================================================================
FAIL: Test validity of template archivebot-archiveheader and language test.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/wikimedia/pywikibot-i18n/pywikibot-build/tests/l10n_tests.py", line 59, in test_template
    .format(package=package, title=title, site=site))
nose.proxy.AssertionError: False is not true : Invalid L10N in package "archivebot-archiveheader"
template "talk archive" does not exist for lang "en" on site "wikipedia:test"

See https://travis-ci.org/wikimedia/pywikibot-i18n

another site test2

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript

Change 516636 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [tests] skip test-wiki and test2-wiki in TestValidTemplate

https://gerrit.wikimedia.org/r/516636

Why not create one?

The exception is already in the test class for simple-wiki and we shouldn't change the production system for passing tests. Ok we can create template on the other two but is it persistent? Or do we have additional test informations then? The test is to verify whether i18n from twn (miss)used for L10N are really valid i.e. these templates exists on the main wikis.

On testwiki Template:Talk archive is to near to Template:Talk archive navigation and linked from that and I don't want to disturb others.

Huji removed a project: Patch-For-Review.

Change 516636 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Test all packages with l10n_tests.py

https://gerrit.wikimedia.org/r/516636