Skip to content

Commit 36b94ec

Browse files
committed
CCM-12616: revert changes
1 parent 0ace208 commit 36b94ec

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

utils/event-publisher-py/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test:
1212
coverage:
1313
@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/pyproject.toml \
15+
--cov-config=utils/event-publisher-py/pytest.ini \
1616
--cov-report=html:utils/event-publisher-py/htmlcov \
1717
--cov-report=term-missing \
1818
--cov-report=xml:utils/event-publisher-py/coverage.xml \

utils/event-publisher-py/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ pytest-cov = "^6.0.0"
2121
pytest-mock = "^3.14.0"
2222
moto = "^5.0.0"
2323

24-
[tool.coverage.run]
25-
relative_files = true
26-
omit = ["*/__tests__/*"]
27-
2824
[build-system]
2925
requires = ["poetry-core>=1.0.0"]
3026
build-backend = "poetry.core.masonry.api"

utils/event-publisher-py/pytest.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,13 @@ addopts =
1010

1111
[tool:pytest]
1212
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/*

0 commit comments

Comments
 (0)