Skip to content
Snippets Groups Projects
Commit 575e4184 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

pytest: Exclude build directory for tests discovery\n\nDue to test modules...

pytest: Exclude build directory for tests discovery\n\nDue to test modules being copied in subdirectories of the\nbuild directory by setuptools, it makes pytest fail by raising\nImportPathMismatchError exceptions when invoked from root\ndirectory of the module.\n\nSo ignore the build folder to discover tests.
parent 1003fbcb
No related branches found
No related tags found
No related merge requests found
[pytest]
addopts = -p no:flask
norecursedirs = docs .*
norecursedirs = build docs .*
DJANGO_SETTINGS_MODULE = swh.auth.tests.django.app.apptest.settings
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment