Skip to content

Commit 3037c15

Browse files
author
Hugo Osvaldo Barrera
committed
Use hypothesis setting load_profile to setup health check
Fixes #779
1 parent e5caf67 commit 3037c15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,13 @@ def benchmark():
3535
derandomize=True,
3636
suppress_health_check=HealthCheck.all(),
3737
))
38+
settings.register_profile("dev", settings(
39+
suppress_health_check=[HealthCheck.too_slow]
40+
))
3841

3942
if os.environ.get('DETERMINISTIC_TESTS', 'false').lower() == 'true':
4043
settings.load_profile("deterministic")
4144
elif os.environ.get('CI', 'false').lower() == 'true':
4245
settings.load_profile("ci")
46+
else:
47+
settings.load_profile("dev")

0 commit comments

Comments
 (0)