diff --git a/Makefile.local b/Makefile.local index 45af2004..c163514c 100644 --- a/Makefile.local +++ b/Makefile.local @@ -1 +1 @@ -TESTFLAGS=--hypothesis-profile=dev +TESTFLAGS=--hypothesis-profile=fast diff --git a/conftest.py b/conftest.py index 28258351..eb6de3d3 100644 --- a/conftest.py +++ b/conftest.py @@ -1,6 +1,6 @@ from hypothesis import settings # define tests profile. Full documentation is at: # https://hypothesis.readthedocs.io/en/latest/settings.html#settings-profiles -settings.register_profile("ci", max_examples=5, deadline=5000) -settings.register_profile("dev", max_examples=20, deadline=5000) +settings.register_profile("fast", max_examples=5, deadline=5000) +settings.register_profile("slow", max_examples=20, deadline=5000) diff --git a/tox.ini b/tox.ini index a944a07f..0d2659fe 100644 --- a/tox.ini +++ b/tox.ini @@ -1,17 +1,17 @@ [tox] envlist=flake8,py3 [testenv:py3] deps = .[testing] pytest-cov pifpaf commands = - pifpaf run postgresql -- pytest --hypothesis-profile=ci --cov=swh --cov-branch {posargs} + pifpaf run postgresql -- pytest --hypothesis-profile=fast --cov=swh --cov-branch {posargs} [testenv:flake8] skip_install = true deps = flake8 commands = {envpython} -m flake8