From 742fcdfabaeed8f9f70e14165cc9740f5b17d5a8 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Fri, 5 Jun 2026 07:11:03 +0200 Subject: Add support for storing data permanently --- tests/__init__.py | 0 tests/scorecounter.py | 35 ----------------------------------- tests/test_app.py | 3 --- 3 files changed, 38 deletions(-) delete mode 100644 tests/__init__.py delete mode 100644 tests/scorecounter.py delete mode 100644 tests/test_app.py (limited to 'tests') diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/scorecounter.py b/tests/scorecounter.py deleted file mode 100644 index d59e9f3..0000000 --- a/tests/scorecounter.py +++ /dev/null @@ -1,35 +0,0 @@ -import os -import sys -import tempfile -from pathlib import Path - -import pytest - - -def run_tests(): - project_path = Path(__file__).parent.parent - os.chdir(project_path) - - # Determine any args to pass to pytest. If there aren't any, - # default to running the whole test suite. - args = sys.argv[1:] - if len(args) == 0: - args = ["tests"] - - returncode = pytest.main( - [ - # Turn up verbosity - "-vv", - # Disable color - "--color=no", - # Overwrite the cache directory to somewhere writable - "-o", - f"cache_dir={tempfile.gettempdir()}/.pytest_cache", - ] + args - ) - - print(f">>>>>>>>>> EXIT {returncode} <<<<<<<<<<") - - -if __name__ == "__main__": - run_tests() diff --git a/tests/test_app.py b/tests/test_app.py deleted file mode 100644 index e1a335f..0000000 --- a/tests/test_app.py +++ /dev/null @@ -1,3 +0,0 @@ -def test_first(): - """An initial test for the app.""" - assert 1 + 1 == 2 -- cgit v1.3