Commit 36cc46bd authored by Johan Bloemberg's avatar Johan Bloemberg

Integrationtest basics.

parent 80fbf26f
Test that require a more complete environment than mere unit tests would. Skipped during normal test.
"""Test/prove some assumtions about celery behaviour (eg: priorities)."""
def test_priorities():
"""High prio tasks should be executed first."""
assert 0
......@@ -21,7 +21,7 @@ setenv =
[testenv:test]
commands =
# run testsuite
coverage run --include 'failmap_admin/*' -m pytest {posargs}
coverage run --include 'failmap_admin/*' -m pytest -k 'not integration' {posargs}
# generate coverage
coverage report
# and pretty html
......@@ -58,3 +58,5 @@ commands =
# do a check after autofixing to show remaining problems
pylama failmap_admin tests
[testenv:integration]
commands = pytest -k 'integration' {posargs}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment