https://forge.softwareheritage.org/source/swh-scheduler.git
Raw File
Tip revision: 97343f20e6456b92e6807e1b8135ce76e1ebebf4 authored by Phabricator Migration user on 06 January 2023, 22:46:00 UTC
Merge branch 'generated-differential-D7763-source' into 'generated-differential-D7763-target'
Tip revision: 97343f2
conftest.py
# Copyright (C) 2020  The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information


from hypothesis import settings

# define tests profile. Full documentation is at:
# https://hypothesis.readthedocs.io/en/latest/settings.html#settings-profiles
settings.register_profile("fast", max_examples=5, deadline=5000)
settings.register_profile("slow", max_examples=20, deadline=5000)


pytest_plugins = [
    "swh.scheduler.pytest_plugin",
    "swh.core.db.pytest_plugin",
    "swh.storage.pytest_plugin",
]
back to top