Xqt added a comment.
The complete diff:
C:\pwb\GIT\core>pwb http_tests -v DataBodyParameterTestCase
tests: max_retries reduced from 15 to 1
test_fetch (__main__.DataBodyParameterTestCase)
Test that using the data and body params produce same results. ... FAIL
======================================================================
FAIL: test_fetch (__main__.DataBodyParameterTestCase)
Test that using the data and body params produce same results.
----------------------------------------------------------------------
Traceback (most recent call last):
File ".\tests\http_tests.py", line 702, in test_fetch
self.assertDictEqual(json.loads(r_data.text),
AssertionError: {'arg[359 chars]2b19-faa523185a90b440b03e2780'}, 'json':
None,[57 chars]ost'} != {'arg[359 chars]2b19-8d2f2528552d6ba88e738e18'},
'json': None,[57 chars]ost'}
{'args': {},
'data': '',
'files': {},
'form': {'fish&chips': 'delicious'},
'headers': {'Accept': '*/*',
'Accept-Encoding': 'gzip, deflate',
'Content-Length': '22',
'Content-Type': 'application/x-www-form-urlencoded',
'Host': 'httpbin.org',
'User-Agent': 'http_tests Pywikibot/3.1.dev0 (g11837) '
'requests/2.22.0 Python/3.8.0.final.0',
- 'X-Amzn-Trace-Id':
'Root=1-5e2c2b19-faa523185a90b440b03e2780'},
? ^^ ----------------
+ 'X-Amzn-Trace-Id':
'Root=1-5e2c2b19-8d2f2528552d6ba88e738e18'},
? +++ ^ ++++++++++++ ++
'json': None,
'origin': '217.95.212.192',
'url': 'http://httpbin.org/post'}
----------------------------------------------------------------------
Ran 1 test in 1.079s
FAILED (failures=1)
C:\pwb\GIT\core>
TASK DETAIL
https://phabricator.wikimedia.org/T243662
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Xqt, Aklapper, pywikibot-bugs-list, Dvorapa, Zkhalido, Viztor, Wenyi,
Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb,
Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs