Dalba created this task.
Dalba added projects: Pywikibot-core, Pywikibot-tests.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

Only on "env": "LANGUAGE=en FAMILY=wsbeta SITE_ONLY=1"; Python 3.4
https://travis-ci.org/wikimedia/pywikibot-core/jobs/291344669#L1928
https://travis-ci.org/wikimedia/pywikibot-core/jobs/291400088#L1928

_______________________ TestPageDeprecation.test_creator _______________________

self = <tests.page_tests.TestPageDeprecation testMethod=test_creator>

def test_creator(self):

"""Test getCreator."""

mainpage = self.get_mainpage()

creator = mainpage.getCreator()

self.assertEqual(creator,

(mainpage.oldest_revision.user,

mainpage.oldest_revision.timestamp.isoformat()))

self.assertIsInstance(creator[0], unicode)

self.assertIsInstance(creator[1], unicode)

self._ignore_unknown_warning_packages = True # T163175

>       self.assertDeprecation()

tests/page_tests.py:592:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

tests/aspects.py:1595: in assertDeprecation

self.assertDeprecationFile(self.expect_warning_filename)

tests/aspects.py:1638: in assertDeprecationFile

% (filename, item))

E AssertionError: expected warning filename /home/travis/build/wikimedia/pywikibot-core/tests/page_tests.py; warning item: {message : UserWarning("Unexpected overlap between action and query submodules: frozenset({'readinglists'})",), category : 'UserWarning', filename : '/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py', lineno : 309, line : None}

______ TestSiteObjectDeprecatedFunctions.test_allpages_filterredir_False _______

self = <tests.site_tests.TestSiteObjectDeprecatedFunctions testMethod=test_allpages_filterredir_False>

def test_allpages_filterredir_False(self):

"""Test that if filterredir's bool is False it's deprecated to False."""

for page in self.site.allpages(filterredir='', total=1):

self.assertFalse(page.isRedirectPage())

>       self.assertOneDeprecation()

tests/site_tests.py:152:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

tests/aspects.py:1608: in assertOneDeprecation

self.assertDeprecation(msg)

tests/aspects.py:1595: in assertDeprecation

self.assertDeprecationFile(self.expect_warning_filename)

tests/aspects.py:1638: in assertDeprecationFile

% (filename, item))

E AssertionError: expected warning filename /home/travis/build/wikimedia/pywikibot-core/tests/site_tests.py; warning item: {message : UserWarning("Unexpected overlap between action and query submodules: frozenset({'readinglists'})",), category : 'UserWarning', filename : '/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py', lineno : 309, line : None}

TASK DETAIL
https://phabricator.wikimedia.org/T178794

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dalba
Cc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to