Skip to content

Commit e535a3b

Browse files
chore: define pytest test paths (#1298)
Define which is the expected test paths for pytest. If you configure your working project to work with local versions of libraries, like ansible_base or dispatcherd, by default pytest will lookup tests also from those projects and potentially ending up in errors. With this setting we explicitly set where are the tests that pytest will run for this project. Signed-off-by: Alex <[email protected]>
1 parent b025029 commit e535a3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytest.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[pytest]
2+
testpaths = tests/
23
asyncio_mode = auto
34
env =
45
EDA_MODE=development
56
DJANGO_SETTINGS_MODULE = aap_eda.settings.default
6-
log_file_level = INFO
7+
log_file_level = INFO

0 commit comments

Comments
 (0)