Skip to content

Commit

Permalink
adds .example marker ignored by default in pytest runs
Browse files Browse the repository at this point in the history
Signed-off-by: Anchit <[email protected]>
  • Loading branch information
anchit-chandran committed May 22, 2023
1 parent 13893d5 commit c3e4ba4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ DJANGO_SETTINGS_MODULE = rcpch-audit-engine.settings
python_files = test_*.py

# RE USE TEST DB AS DEFAULT
addopts = --reuse-db
addopts =
--reuse-db
-k "not examples"

markers =
examples: mark test as workshop-type / example test
Expand Down

0 comments on commit c3e4ba4

Please sign in to comment.