mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Use the syntax hypothesis accepts
This commit is contained in:
parent
83fe7d2c8a
commit
558da29e5e
1 changed files with 3 additions and 3 deletions
|
|
@ -27,15 +27,15 @@ else:
|
||||||
del pytest_benchmark
|
del pytest_benchmark
|
||||||
|
|
||||||
|
|
||||||
settings.suppress_health_check = [HealthCheck.too_slow]
|
|
||||||
|
|
||||||
settings.register_profile("ci", settings(
|
settings.register_profile("ci", settings(
|
||||||
max_examples=1000,
|
max_examples=1000,
|
||||||
verbosity=Verbosity.verbose,
|
verbosity=Verbosity.verbose,
|
||||||
|
suppress_health_check=[HealthCheck.too_slow],
|
||||||
))
|
))
|
||||||
settings.register_profile("deterministic", settings(
|
settings.register_profile("deterministic", settings(
|
||||||
derandomize=True,
|
derandomize=True,
|
||||||
perform_health_check=False
|
perform_health_check=False,
|
||||||
|
suppress_health_check=[HealthCheck.too_slow],
|
||||||
))
|
))
|
||||||
|
|
||||||
if os.environ.get('DETERMINISTIC_TESTS', 'false').lower() == 'true':
|
if os.environ.get('DETERMINISTIC_TESTS', 'false').lower() == 'true':
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue