Skip to content

Commit a18fa2f

Browse files
Adding pythonpath variable
1 parent 7e0a8fc commit a18fa2f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"organisation",
1515
"pytest",
1616
"pytestmark",
17+
"pythonpath",
18+
"recognise",
1719
"retcode",
1820
"ruleset",
1921
"utilise",

pytest.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ addopts =
1313
--json-report-omit=collectors
1414
--tracing=retain-on-failure
1515

16+
# Allows pytest to identify the base of this project as the pythonpath
17+
pythonpath = .
18+
1619
# These are the tags that pytest will recognise when using @pytest.mark
1720
markers =
1821
example: tests used for example purposes by this blueprint

0 commit comments

Comments
 (0)