From 55eede61ccc7ce7a375b71cc0da9e83ade427812 Mon Sep 17 00:00:00 2001 From: agres Date: Wed, 19 Mar 2025 01:36:50 +0100 Subject: [PATCH] Added pytest and config file --- pytest.ini | 5 +++++ requirements.txt | 2 ++ test/test_auth.py | 0 3 files changed, 7 insertions(+) create mode 100644 pytest.ini create mode 100644 test/test_auth.py diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..46f840e --- /dev/null +++ b/pytest.ini @@ -0,0 +1,5 @@ +# pytest.ini +[pytest] +# Set the root directory to the current directory (.) +rootdir = . +pythonpath = . diff --git a/requirements.txt b/requirements.txt index 5bd2999..89f3571 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,5 @@ python-dotenv==1.0.1 requests==2.32.3 pre-commit==4.1.0 pytest==8.3.5 +coverage==7.7.0 +pytest-cov==6.0.0 diff --git a/test/test_auth.py b/test/test_auth.py new file mode 100644 index 0000000..e69de29