Staging instance, all changes can be removed at any time

Skip to content

tests/api/origin_save: Explicitely populate SaveAuthorizedOrigin table

The use of django-test-migrations have some unexpected side effect when building the debian package of swh-web, some default data added to the SaveAuthorizedOrigin table in initial migrations end up missing.

So ensure to explicitely fill that table with needed tests data to avoid some test failures.

Related to #3266 (closed)

I also added a commit to silent a distutils related warning.


Migrated from D5575 (view on Phabricator)

Merge request reports

Loading