Revision 873cdacfaf2bd4127f6378358504feefb3a47fd4 authored by Nicolas Dandrimont on 10 June 2020, 09:28:19 UTC, committed by Nicolas Dandrimont on 10 June 2020, 09:28:19 UTC
When running the cli with default settings (i.e. pointing to a softwareheritage-scheduler-dev database), and the database doesn't exist, an OperationalError is raised. This shouldn't prevent (some of the) cli subcommands from working, so catch this error and ignore it as one of the scheduler backend setup failure modes.
1 parent 28c5b8d
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)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...