fixed test call

This commit is contained in:
2023-12-07 22:12:56 +01:00
parent 529776bac6
commit 3ebe5bba7f
5 changed files with 4 additions and 4 deletions
-3
View File
@@ -1,3 +0,0 @@
[run]
source = src
omit = tests/*, __init__.py
-3
View File
@@ -1,3 +0,0 @@
[pytest]
pythonpath = .
addopts = --ignore-glob=**/tests/**
+1
View 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/
+1 -2
View File
@@ -14,7 +14,7 @@ class TestScanFolder(unittest.TestCase):
create_file(file='img_01.jpeg')
files = scan_folder(TEST_FOLDER)
delete_folder()
assert len(files) == 1
def test_scan_empty_folder(self):
@@ -43,4 +43,3 @@ class TestScanFolder(unittest.TestCase):
delete_folder()
assert len(files) == 0