From 04e507cd25a95a0eb0f2a9cde7c8ab0607264857 Mon Sep 17 00:00:00 2001 From: Yassir Akram Date: Sun, 17 Nov 2024 17:30:39 +0100 Subject: [PATCH] unit test / integration tests --- pyproject.toml | 2 +- tests/integration/sample_integr_test.py | 2 ++ tests/unit/sample_unit_test.py | 2 ++ website/tests/sample_test.py | 2 -- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 tests/integration/sample_integr_test.py create mode 100644 tests/unit/sample_unit_test.py delete mode 100644 website/tests/sample_test.py diff --git a/pyproject.toml b/pyproject.toml index 0a70d48..b402aa4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [tool.ruff] line-length = 120 # Let's keep this at 120 for now, there are some files that need it -target-version = "py310" +target-version = "py312" diff --git a/tests/integration/sample_integr_test.py b/tests/integration/sample_integr_test.py new file mode 100644 index 0000000..43f9268 --- /dev/null +++ b/tests/integration/sample_integr_test.py @@ -0,0 +1,2 @@ +def test_1(): + assert True diff --git a/tests/unit/sample_unit_test.py b/tests/unit/sample_unit_test.py new file mode 100644 index 0000000..43f9268 --- /dev/null +++ b/tests/unit/sample_unit_test.py @@ -0,0 +1,2 @@ +def test_1(): + assert True diff --git a/website/tests/sample_test.py b/website/tests/sample_test.py deleted file mode 100644 index 37313db..0000000 --- a/website/tests/sample_test.py +++ /dev/null @@ -1,2 +0,0 @@ -def test_1(): - assert True \ No newline at end of file