File tree Expand file tree Collapse file tree 3 files changed +13
-19
lines changed
Expand file tree Collapse file tree 3 files changed +13
-19
lines changed Original file line number Diff line number Diff line change 1010 poetry run pytest event_publisher/__tests__/ -v
1111
1212coverage :
13- @ cd ../.. && poetry -C utils/event-publisher-py run pytest utils/event-publisher-py/event_publisher/__tests__/ \
13+ cd ../.. && poetry -C utils/event-publisher-py run pytest utils/event-publisher-py/event_publisher/__tests__/ \
1414 --cov=utils/event-publisher-py/event_publisher \
15- --cov-config=utils/event-publisher-py/pytest.ini \
1615 --cov-report=html:utils/event-publisher-py/htmlcov \
1716 --cov-report=term-missing \
1817 --cov-report=xml:utils/event-publisher-py/coverage.xml \
Original file line number Diff line number Diff line change @@ -21,6 +21,17 @@ pytest-cov = "^6.0.0"
2121pytest-mock = " ^3.14.0"
2222moto = " ^5.0.0"
2323
24+ [tool .coverage .run ]
25+ relative_files = true
26+ omit = [
27+ " */__tests__/*" ,
28+ " */test_*.py" ,
29+ " */__pycache__/*" ,
30+ " */venv/*" ,
31+ " */.venv/*" ,
32+ " */env/*"
33+ ]
34+
2435[build-system ]
2536requires = [" poetry-core>=1.0.0" ]
2637build-backend = " poetry.core.masonry.api"
Original file line number Diff line number Diff line change @@ -3,20 +3,4 @@ python_files = test_*.py
33python_classes = Test*
44python_functions = test_*
55testpaths = event_publisher/__tests__
6- addopts =
7- -v
8- --tb =short
9- --strict-markers
10-
11- [tool:pytest]
12- testpaths = event_publisher/__tests__
13-
14- [coverage:run]
15- relative_files = True
16- omit =
17- */__tests__/*
18- */test_*.py
19- */__pycache__/*
20- */venv/*
21- */.venv/*
22- */env/*
6+ addopts = -v --tb =short
You can’t perform that action at this time.
0 commit comments