Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Maniphest Tasks
- T3603: Replace stateful hypothesis strategies by pytest fixtures
- Commits
- rDWAPPSc4fed93688b1: tests: Turn release* hypothesis strategies into pytest fixtures
Diff Detail
Diff Detail
- Repository
- rDWAPPS Web applications
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D6459 (id=23467)
Could not rebase; Attempt merge onto d7c16735a4...
Updating d7c16735..15176440 Fast-forward swh/web/tests/api/test_apiresponse.py | 4 +- swh/web/tests/api/test_utils.py | 21 +- swh/web/tests/api/views/test_content.py | 12 - swh/web/tests/api/views/test_directory.py | 7 - swh/web/tests/api/views/test_graph.py | 6 +- swh/web/tests/api/views/test_identifiers.py | 11 +- swh/web/tests/api/views/test_origin.py | 5 +- swh/web/tests/api/views/test_release.py | 6 - swh/web/tests/api/views/test_revision.py | 4 +- swh/web/tests/api/views/test_snapshot.py | 13 +- swh/web/tests/api/views/test_vault.py | 17 +- swh/web/tests/browse/test_snapshot_context.py | 37 ++- swh/web/tests/browse/views/test_content.py | 190 +++++++------- swh/web/tests/browse/views/test_directory.py | 67 +++-- swh/web/tests/browse/views/test_identifiers.py | 17 +- swh/web/tests/browse/views/test_origin.py | 98 ++++---- swh/web/tests/browse/views/test_release.py | 16 +- swh/web/tests/browse/views/test_revision.py | 5 +- swh/web/tests/common/test_archive.py | 51 +--- swh/web/tests/common/test_identifiers.py | 113 +++++---- swh/web/tests/common/test_origin_visits.py | 21 +- swh/web/tests/conftest.py | 331 ++++++++++++++++++++++++- swh/web/tests/misc/test_badges.py | 11 +- swh/web/tests/misc/test_iframe.py | 12 +- swh/web/tests/strategies.py | 289 +-------------------- 25 files changed, 630 insertions(+), 734 deletions(-)
Changes applied before test
commit 151764408fdc4e2397cbeca30822b95f90e571b4 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Oct 12 14:08:49 2021 +0200 tests: Turn release* hypothesis strategies into pytest fixtures Related to T3603 commit c2d10c90c3bd6f5fa3634fa456475c3fa92ae194 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Oct 12 13:48:57 2021 +0200 tests: Turn origin* hypothesis strategies into pytest fixtures Related to T3603 commit 81486f517526f7cb94e0ca2ed49433ebd7c3d1b3 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Oct 12 11:45:43 2021 +0200 tests: Turn directory* hypothesis strategies into pytest fixtures Related to T3603 commit 23a8dc33453fdcf3fb0037ba1c0c76752d40c1c4 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon Oct 11 15:17:58 2021 +0200 tests: Turn content* hypothesis strategies into pytest fixtures Using such hypothesis strategies have several drawbacks so let's turn them into pytest fixtures as it feels a better way to do so. Related to T3603
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1165/ for more details.
Comment Actions
Build is green
Patch application report for D6459 (id=23468)
Could not rebase; Attempt merge onto d7c16735a4...
Updating d7c16735..c4fed936 Fast-forward swh/web/tests/api/test_apiresponse.py | 4 +- swh/web/tests/api/test_utils.py | 21 +- swh/web/tests/api/views/test_content.py | 12 - swh/web/tests/api/views/test_directory.py | 7 - swh/web/tests/api/views/test_graph.py | 6 +- swh/web/tests/api/views/test_identifiers.py | 11 +- swh/web/tests/api/views/test_origin.py | 5 +- swh/web/tests/api/views/test_release.py | 6 - swh/web/tests/api/views/test_revision.py | 4 +- swh/web/tests/api/views/test_snapshot.py | 13 +- swh/web/tests/api/views/test_vault.py | 17 +- swh/web/tests/browse/test_snapshot_context.py | 37 ++- swh/web/tests/browse/views/test_content.py | 190 +++++++------- swh/web/tests/browse/views/test_directory.py | 67 +++-- swh/web/tests/browse/views/test_identifiers.py | 17 +- swh/web/tests/browse/views/test_origin.py | 98 ++++---- swh/web/tests/browse/views/test_release.py | 16 +- swh/web/tests/browse/views/test_revision.py | 5 +- swh/web/tests/common/test_archive.py | 51 +--- swh/web/tests/common/test_identifiers.py | 113 +++++---- swh/web/tests/common/test_origin_visits.py | 21 +- swh/web/tests/conftest.py | 331 ++++++++++++++++++++++++- swh/web/tests/misc/test_badges.py | 11 +- swh/web/tests/misc/test_iframe.py | 12 +- swh/web/tests/strategies.py | 289 +-------------------- 25 files changed, 630 insertions(+), 734 deletions(-)
Changes applied before test
commit c4fed93688b1658684ee5792eb020272750f9de1 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Oct 12 14:08:49 2021 +0200 tests: Turn release* hypothesis strategies into pytest fixtures Related to T3603 commit c2d10c90c3bd6f5fa3634fa456475c3fa92ae194 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Oct 12 13:48:57 2021 +0200 tests: Turn origin* hypothesis strategies into pytest fixtures Related to T3603 commit 81486f517526f7cb94e0ca2ed49433ebd7c3d1b3 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Oct 12 11:45:43 2021 +0200 tests: Turn directory* hypothesis strategies into pytest fixtures Related to T3603 commit 23a8dc33453fdcf3fb0037ba1c0c76752d40c1c4 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon Oct 11 15:17:58 2021 +0200 tests: Turn content* hypothesis strategies into pytest fixtures Using such hypothesis strategies have several drawbacks so let's turn them into pytest fixtures as it feels a better way to do so. Related to T3603
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1166/ for more details.