diff --git a/.gitignore b/.gitignore index 7397c55..391abf2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -data/ -output.db +/data/ +/output.db # Created by https://www.toptal.com/developers/gitignore/api/vim,linux,python,pandas # Edit at https://www.toptal.com/developers/gitignore?templates=vim,linux,python,pandas diff --git a/noxfile.py b/noxfile.py index f056b7a..b5d7a12 100644 --- a/noxfile.py +++ b/noxfile.py @@ -3,7 +3,7 @@ import nox @nox.session(python=["3.7", "3.8", "3.9"]) def tests(session): - args = session.posargs or ["--cov"] + args = session.posargs or ["--cov", "-m", "not e2e"] session.run("poetry", "install", external=True) session.run("pytest", *args) pass diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..0f09c94 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,2 @@ +def pytest_configure(config): + config.addinivalue_line("markers", "e2e: mark as end to end test.")