This imports the content of this PR to upstream:
https://github.com/untitaker/pytest-subtesthack/pull/7
Details
Details
- Reviewers
anlambert - Group Reviewers
Reviewers - Commits
- rDWAPPS3724f7fe598f: Fix assertion reporting for tests using the subtesthack
Diff Detail
Diff Detail
- Repository
- rDWAPPS Web applications
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 30297 Build 47366: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 47365: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
Patch application report for D8096 (id=29208)
Could not rebase; Attempt merge onto 3d80435710...
Updating 3d804357..3724f7fe Fast-forward requirements-test.txt | 3 ++- swh/web/tests/conftest.py | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-)
Changes applied before test
commit 3724f7fe598fdaa5605a2343580a14e2e24c5f82 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 7 13:45:51 2022 +0200 Fix assertion reporting for tests using the subtesthack This imports the content of this PR to upstream: https://github.com/untitaker/pytest-subtesthack/pull/7 commit 58706c38e044f514b519a84e3fd84d5bc7f6bba1 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 7 12:35:35 2022 +0200 Add minimum version requirement for pytest Using older versions works for passing tests, but assertion failures cause a very obscure traceback on teardown commit 1402ec5e7c1521def7804422afc86022010db777 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 7 11:51:31 2022 +0200 Add missing dependency on types-cryptography For some reason it is not an issue within tox; but mypy has been bugging me about this for a while.
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1912/ for more details.