diff --git a/swh/web/tests/conftest.py b/swh/web/tests/conftest.py --- a/swh/web/tests/conftest.py +++ b/swh/web/tests/conftest.py @@ -45,6 +45,10 @@ def pytest_configure(config): + # Use fast hypothesis profile by default if none has been + # explicitly specified in pytest option + if config.getoption('--hypothesis-profile') is None: + settings.load_profile('swh-web-fast') # Small hack in order to be able to run the unit tests # without static assets generated by webpack. # Those assets are not really needed for the Python tests