Revision 7cc37fa233c72a4b6b8e362f563384045c657fc1 authored by Nicolas Dandrimont on 01 June 2021, 17:17:16 UTC, committed by Nicolas Dandrimont on 26 August 2021, 14:49:37 UTC
For origins that have never been visited, and for which we don't have a
queue position yet, we want to visit them in the order they've been
added.
1 parent 2efad28
Raw File
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