Commit 2ff87653 authored by Jamy Mahabier's avatar Jamy Mahabier

Add pytest to project

Add some plumbing for pytest
parent 42b49598
......@@ -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')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment