diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index bb8e550a..b66e31b7 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -33,4 +33,4 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Unittests run: | - python -m unittest discover -s test -t test + pytest test diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 00000000..5599a3c9 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,4 @@ +[pytest] +python_files = Test*.py +python_classes = Test +python_functions = test \ No newline at end of file