From 481b07a3c342b7d9c5ac4e058025c0b3ed370bfb Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Thu, 25 Jul 2024 16:56:29 +0200 Subject: [PATCH] `upload_assets` update TODO note about always-upload feature #5 #22 --- qa/tools/apex_algorithm_qa_tools/pytest_upload_assets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tools/apex_algorithm_qa_tools/pytest_upload_assets.py b/qa/tools/apex_algorithm_qa_tools/pytest_upload_assets.py index 7e78067..d49fa0e 100644 --- a/qa/tools/apex_algorithm_qa_tools/pytest_upload_assets.py +++ b/qa/tools/apex_algorithm_qa_tools/pytest_upload_assets.py @@ -44,7 +44,7 @@ def test_dummy(upload_assets, tmp_path): def pytest_addoption(parser: pytest.Parser): - # TODO: option to always upload (also on success). + # TODO #22: option to always upload (also on success). parser.addoption( "--upload-assets-run-id", metavar="RUNID", @@ -111,7 +111,7 @@ def pytest_runtest_logstart(self, nodeid): self.collected_assets = {} def pytest_runtest_logreport(self, report: pytest.TestReport): - # TODO: option to upload on other outcome as well? + # TODO #22: option to upload on other outcome as well? if report.when == "call" and report.outcome == "failed": # TODO: what to do when upload fails? uploaded = self._upload(nodeid=report.nodeid)