Skip to content
Snippets Groups Projects
Commit 2ff87653 authored by Jamy Mahabier's avatar Jamy Mahabier
Browse files

Add pytest to project

Add some plumbing for pytest
parent 42b49598
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,9 @@ zesje/static/
__pycache__/
*.pyc
# pytest temporary files
.pytest_cache/
# vscode folder
.vscode
......
[pytest]
testpaths = tests
import os
import pytest
# Adapted from https://stackoverflow.com/a/46062148/1062698
@pytest.fixture
def datadir():
return os.path.join(os.path.dirname(os.path.abspath(__file__)), 'data')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment