This fixes crashes when running 'pytest -k migration', because swh/deposit/tests_migration/
lacks a conftest to initialize the database.
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDDEP8a7e0832641b: Move tests_migration/test_migrations.py to tests/test_migrations.py
Diff Detail
Diff Detail
- Repository
- rDDEP Push deposit
- 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 D7240 (id=26249)
Rebasing onto ccff46762b...
First, rewinding head to replay your work on top of it... Applying: Move tests_migration/test_migrations.py to tests/test_migrations.py
Changes applied before test
commit c1a83c22543527fe1568bd21d316ff914d239445 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Feb 24 12:04:03 2022 +0100 Move tests_migration/test_migrations.py to tests/test_migrations.py This fixes crashes when running 'pytest -k migration', because swh/deposit/tests_migration/ lacks a conftest to initialize the database.
See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/758/ for more details.
Comment Actions
Build is green
Patch application report for D7240 (id=26299)
Rebasing onto ccff46762b...
Current branch diff-target is up to date.
Changes applied before test
commit 8a7e0832641bda3b4c445793cfb92e3de6c5947e Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Feb 24 12:04:03 2022 +0100 Move tests_migration/test_migrations.py to tests/test_migrations.py This fixes crashes when running 'pytest -k migration', because swh/deposit/tests_migration/ lacks a conftest to initialize the database.
See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/780/ for more details.