Page MenuHomePhabricator

Claim on Wikidata regarding India location changes
Closed, ResolvedPublic

Description

After change in Wikidata there is a problem in test (see: 1, 2)

_____________ TestItemClaimFilterPageGenerator.test_no_qualifiers ______________
self = <tests.pagegenerators_tests.TestItemClaimFilterPageGenerator testMethod=test_no_qualifiers>
    def test_no_qualifiers(self):
        """Test ItemClaimFilterPageGenerator on sample page without qualifiers."""
        self._simple_claim_test('P474', '+91', None, True)
        self._simple_claim_test('P463', 'Q37470', None, True)
>       self._simple_claim_test('P625', '21,78', None, True)
tests/pagegenerators_tests.py:708: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/pagegenerators_tests.py:662: in _simple_claim_test
    self.assertEqual(len(pages), 1 if valid else 0)
E   AssertionError: 0 != 1