Use the syntax hypothesis accepts

This commit is contained in:
Hugo Osvaldo Barrera 2020-06-08 13:26:39 +02:00
parent 83fe7d2c8a
commit 558da29e5e

View file

@ -27,15 +27,15 @@ else:
del pytest_benchmark
settings.suppress_health_check = [HealthCheck.too_slow]
settings.register_profile("ci", settings(
max_examples=1000,
verbosity=Verbosity.verbose,
suppress_health_check=[HealthCheck.too_slow],
))
settings.register_profile("deterministic", settings(
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':