14
0
Files
python-vdirsyncer/python-vdirsyncer-fix-tests.patch
2019-04-03 11:17:48 +00:00

17 lines
451 B
Diff

diff --git a/tests/conftest.py b/tests/conftest.py
index ff774ce1..6272d42d 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -27,7 +27,10 @@ def benchmark():
del pytest_benchmark
-settings.suppress_health_check = [HealthCheck.too_slow]
+settings.register_profile("dev", settings(
+ suppress_health_check=[HealthCheck.too_slow]
+))
+settings.load_profile("dev")
settings.register_profile("ci", settings(
max_examples=1000,