fixed test call
This commit is contained in:
@@ -7,6 +7,6 @@ Dies ist die dritte Version von AutoPicture.
|
||||
# Tests
|
||||
|
||||
```bash
|
||||
python3.10 -m pytest --no-header -rfp --cov --cov-report html:tests/coverage --cov-report xml:tests/coverage/coverage.xml tests/
|
||||
sh ./tests/start_tests.sh
|
||||
```
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[pytest]
|
||||
pythonpath = .
|
||||
pythonpath = tests
|
||||
addopts = --ignore-glob=**/tests/**
|
||||
1
tests/start_tests.sh
Executable file
1
tests/start_tests.sh
Executable file
@@ -0,0 +1 @@
|
||||
python3.10 -m pytest --no-header -rfp --cov --cov-report html:tests/coverage --cov-report xml:tests/coverage/coverage.xml tests/
|
||||
@@ -43,4 +43,3 @@ class TestScanFolder(unittest.TestCase):
|
||||
delete_folder()
|
||||
|
||||
assert len(files) == 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user