https://github.com/SoftwareHeritage/swh-storage
Revision c21d0e38204aaca3999c00f2346b0d5c69a2ddff authored by Antoine R. Dumont (@ardumont) on 07 July 2020, 09:09:25 UTC, committed by Antoine R. Dumont (@ardumont) on 08 July 2020, 09:50:21 UTC
This will allow loaders to reuse those dedicated fixtures within their code
base without having to import the swh.storage.tests.conftest module.

Related to T2484
1 parent e45ca76
Raw File
Tip revision: c21d0e38204aaca3999c00f2346b0d5c69a2ddff authored by Antoine R. Dumont (@ardumont) on 07 July 2020, 09:09:25 UTC
Move sharable fixtures out of conftest into a dedicated pytest plugin
Tip revision: c21d0e3
pytest.ini
[pytest]
norecursedirs = docs
filterwarnings =
    ignore:.*the imp module.*:PendingDeprecationWarning
markers =
    db: execute tests using a postgresql database
    cassandra: execute tests using a cassandra database (which are slow)
    property_based: execute tests generating data with hypothesis (potentially long run time)
    network: execute tests using a socket between two threads
back to top