mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-14 15:53:28 +01:00
* post append improvements: - parse json primitives for post query - for text/plain, attempt to parse as json, then as binary - standardize post append indexing - include '__wb_method' in urlkey - add 'requestBody' and 'method' to cdxj - support unique dupe params for json-to-query conversion * test fixes: - update tests for test_inputreq, - update post-test.cdxj and post-test.cdx * ci: fixes - tox: run full test suite! - disable appveyor * inputrequest buffering fix: - never truncate reading POST request, must read entire POST data to avoid hung request in live mode - truncate final query string to 4096
35 lines
542 B
INI
35 lines
542 B
INI
[pytest]
|
|
#addopts = --cov pywb -vv --doctest-modules pywb --cov-report=xml --cov-report=term
|
|
testpaths =
|
|
tests
|
|
|
|
[tox]
|
|
envlist = py36, py37, py38, py39
|
|
|
|
[gh-actions]
|
|
python =
|
|
3.6: py36
|
|
3.7: py37
|
|
3.8: py38
|
|
3.9: py39
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
pytest-cov
|
|
coverage
|
|
WebTest
|
|
fakeredis<1.0
|
|
mock
|
|
urllib3
|
|
werkzeug
|
|
httpbin==0.5.0
|
|
ujson
|
|
lxml
|
|
-rrequirements.txt
|
|
-rextra_requirements.txt
|
|
commands =
|
|
py.test --cov-config .coveragerc --cov pywb -v --doctest-modules ./pywb/ tests/
|
|
|
|
|