Mercurial > p > roundup > code
diff test/requirements.txt @ 8592:363a6bb5a6ae default tip
test: add subtest support to testTokenlessCsrfProtection
Make each list driven test case a subtest of its own. Add
pytest-subtest pip module to make this work.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 21 Apr 2026 12:55:19 -0400 |
| parents | 4006ddad6b8a |
| children |
line wrap: on
line diff
--- a/test/requirements.txt Mon Apr 20 23:56:15 2026 -0400 +++ b/test/requirements.txt Tue Apr 21 12:55:19 2026 -0400 @@ -1,6 +1,18 @@ # the driving harness pytest +# set environment variables for redis password etc. from ini/toml +# settings files. +pytest-env + +# change order of tests to find dependencies +pytest-randomly + +# allows execution of subtests when a test function tests multiple +# scenarios. It is built into pytest 9.0+, but can co-exist with it +# and is required for older pytest that run on older python versions. +pytest-subtests + # coverage stats coverage # fuzz tests
