From bb944b2ae90a679882528a2b428f10d46f6296fe Mon Sep 17 00:00:00 2001 From: Vuk7912 Date: Fri, 23 May 2025 21:32:17 +0000 Subject: [PATCH 1/4] Start draft PR From c6ed89a5847c65ccc6ee003531fd20f83031ca62 Mon Sep 17 00:00:00 2001 From: Vuk7912 Date: Fri, 23 May 2025 21:32:41 +0000 Subject: [PATCH 2/4] Add pytest to requirements.txt --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ae5b535..5027b5f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -36,6 +36,7 @@ pyasn1==0.4.8 pyasn1-modules==0.2.8 pycryptodome==3.9.7 pylint==2.5.0 +pytest==8.3.1 python-pptx==0.6.18 pytz==2020.1 requests==2.23.0 @@ -55,4 +56,4 @@ urllib3==1.25.9 Werkzeug==1.0.1 wrapt==1.12.1 xlrd==1.2.0 -XlsxWriter==1.2.8 +XlsxWriter==1.2.8 \ No newline at end of file From 8dd5f9a876021abd751b662eff03603561f14147 Mon Sep 17 00:00:00 2001 From: Vuk7912 Date: Fri, 23 May 2025 21:32:45 +0000 Subject: [PATCH 3/4] Create pytest configuration file --- pytest.ini | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..38be796 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,5 @@ +[pytest] +testpaths = tests +python_files = test_*.py +python_classes = Test* +python_functions = test_* \ No newline at end of file From 0b0ee26509797cd9c7c5bf4251f973238a3172f2 Mon Sep 17 00:00:00 2001 From: Vuk7912 Date: Fri, 23 May 2025 21:32:51 +0000 Subject: [PATCH 4/4] Add initial setup test --- tests/test_setup.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/test_setup.py diff --git a/tests/test_setup.py b/tests/test_setup.py new file mode 100644 index 0000000..f811eb3 --- /dev/null +++ b/tests/test_setup.py @@ -0,0 +1,3 @@ +def test_pytest_works(): + """Verify that pytest is set up correctly.""" + assert True, "Pytest is not working correctly" \ No newline at end of file