https://forge.softwareheritage.org/source/swh-scheduler.git
Raw File
Tip revision: dc6afe41bbd467520be15a8acd38d44d9f226ec7 authored by Valentin Lorentz on 01 March 2019, 10:16:24 UTC
Revert "Hack to fix the ImportError in updater/ghtorrent/fake.py."
Tip revision: dc6afe4
conftest.py
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)

# Modules that should not be loaded by --doctest-modules
collect_ignore = [
    # ImportError
    'swh/scheduler/updater/ghtorrent/fake.py',
    # NotImplementedError: save_group is not supported by this backend.
    'swh/scheduler/tests/tasks.py',
    # OSError: Configuration file must be defined
    'swh/scheduler/api/wsgi.py',
]
back to top