Page MenuHomePhabricator

paraminfo_tests.test_entities fails
Closed, ResolvedPublic

Description

After T210322 has been solved upstream (T210839) there is a new failure as follows:

C:\pwb\GIT\core>py -2 pwb.py paraminfo_tests -v WikibaseKnownTypesTests

tests: max_retries reduced from 15 to 1
test_datatypes (__main__.WikibaseKnownTypesTests)
Test that all encountered datatypes are known. ... ok
test_entities (__main__.WikibaseKnownTypesTests)
Test known entities. ... FAIL
test_rank (__main__.WikibaseKnownTypesTests)
Test known ranks. ... ok
test_snaktype (__main__.WikibaseKnownTypesTests)
Test known snak types. ... ok

======================================================================
FAIL: test_entities (__main__.WikibaseKnownTypesTests)
Test known entities.
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".\tests\paraminfo_tests.py", line 226, in test_entities
    self.repo, 'wbsearchentities', 'type', known)
  File ".\tests\paraminfo_tests.py", line 52, in _check_param_superset
    self.assertGreaterEqual(set(expected), set(values))
AssertionError: set([u'lexeme', u'item', u'property', u'form', u'sense']) not greater than or equal to set([u'form', u'mediainfo', u'lexeme', u'item', u'sense', u'property'])

----------------------------------------------------------------------
Ran 4 tests in 8.283s

FAILED (failures=1)

Event Timeline

Xqt renamed this task from paraminfo_tests.tesz_entities fails to paraminfo_tests.test_entities fails.Dec 3 2018, 8:39 PM
Xqt triaged this task as High priority.

I did it locally for wpbeta I guess. But their config could be changed in meantime. I’ll recheck it.

Xqt claimed this task.

Resolved upstream