Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Steps to replicate the issue**:
  
  Run `pwb wikibase_tests -v TestWikibaseParser` of 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/297637
  
  **What happens?**:
  
  The test fails due to this assert statement in api.Request.submit():
  
    assert isinstance(result[key], str), \
        'Unexpected {}: {!r}'.format(key, result[key])
  
  but the result[key] is valid:
  
    result[key] [{'raw': 'Not a quantity', 'error': 
'ValueParsers\\ParseException', 'error-info': 'Malformed quantity', 
'expected-format': 'quantity', 'messages': [{'name': 
'wikibase-parse-error-quantity', 'parameters': [], 'html': {'*': 'Der 
Mengenwert ist ungültig.'}}]}] <class 'list'>
    E

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

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

To: Xqt
Cc: matej_suchanek, Aklapper, Xqt, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to