summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2024-11-09 20:36:41 +0100
committerEddy Pedroni <epedroni@pm.me>2024-11-09 20:36:41 +0100
commitb2cfaf91387bb030274a100b02094daa39571616 (patch)
treeb0109f946ad0af9557f7d459cd31c1ce78cd1928
parent19aad3fdc3b10312743ff0399a5ad472e6573cad (diff)
Small cleanupHEADmaster
-rw-r--r--pre-commit2
-rw-r--r--tests/session_integrationtest.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pre-commit b/pre-commit
index 9c577e5..668071c 100644
--- a/pre-commit
+++ b/pre-commit
@@ -1,4 +1,4 @@
#!/bin/sh
-./venv/bin/pytest tests/*
+make test
exit $?
diff --git a/tests/session_integrationtest.py b/tests/session_integrationtest.py
index ddabff9..267e374 100644
--- a/tests/session_integrationtest.py
+++ b/tests/session_integrationtest.py
@@ -1,7 +1,7 @@
import pytest
import json
-from flashcards.session import Session
+from flashcards import Session
@pytest.fixture
def cardFiles(tmp_path):