Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ Homepage = "https://github.com/eiffel-community/etos-api"
Repository = "https://github.com/eiffel-community/etos-api"

[project.optional-dependencies]
testing = ["pytest", "pytest-cov"]
testing = [
"pytest",
"pytest-cov",
"tox",
"pytest-asyncio",
"httpx"
]

[tool.build_sphinx]
source_dir = "docs"
Expand Down
1 change: 1 addition & 0 deletions python/src/etos_api/routers/v0/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ async def _start(etos: StartEtosRequest, span: Span) -> dict: # pylint:disable=
span.set_attribute("etos.id", tercc.meta.event_id)

LOGGER.info("Validating test suite.")
span.set_attribute("etos.test_suite.uri", etos.test_suite_url)
await validate_suite(etos.test_suite_url)
LOGGER.info("Test suite validated.")

Expand Down
1 change: 1 addition & 0 deletions python/src/etos_api/routers/v1alpha/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ async def _create_testrun(etos: StartTestrunRequest, span: Span) -> dict:
span.set_attribute("etos.id", testrun_id)

LOGGER.info("Download test suite.")
span.set_attribute("etos.test_suite.uri", etos.test_suite_url)
test_suite = await download_suite(etos.test_suite_url)
LOGGER.info("Test suite downloaded.")

Expand Down
Loading