https://forge.softwareheritage.org/source/swh-scheduler.git
Raw File
Tip revision: 919334e546a2ee9a21b057f4c1379e3643a72681 authored by Jenkins for Software Heritage on 10 June 2021, 14:51:04 UTC
Updated backport on buster-swh from debian/0.15.0-1_swh1 (unstable-swh)
Tip revision: 919334e
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"]
back to top