Page MenuHomePhabricator

TestItemClaimFilterPageGenerator.test_no_qualifiers test is failing at travis and appveyor
Closed, ResolvedPublic

Description

=================================== FAILURES ===================================
_____________ TestItemClaimFilterPageGenerator.test_no_qualifiers ______________

self = <tests.pagegenerators_tests.TestItemClaimFilterPageGenerator testMethod=test_no_qualifiers>

    def test_no_qualifiers(self):
        """Test ItemClaimFilterPageGenerator without qualifiers."""
        self._simple_claim_test('P474', '+91', None, True)
        self._simple_claim_test('P463', 'Q37470', None, True)
>       self._simple_claim_test('P625', '21,77', None, True)

tests/pagegenerators_tests.py:818: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/pagegenerators_tests.py:772: in _simple_claim_test
    self.assertEqual(len(pages), 1 if valid else 0)
E   AssertionError: 0 != 1

See: https://api.travis-ci.org/v3/job/471785618/log.txt

Event Timeline

Xqt triaged this task as High priority.Dec 24 2018, 11:54 AM

Change 481294 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Use P1334 property instead of P625 for test_no_qualifiers tests

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

Xqt lowered the priority of this task from High to Lowest.Dec 24 2018, 12:52 PM

Change 481294 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Use P1334 property instead of P625 for test_no_qualifiers tests

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