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 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 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