From 34896029855f58148d69ae165a1ce4f99310b3ac Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sun, 4 Jan 2026 22:47:47 +0100 Subject: start working on tests for the CLI tools --- tests/cli/conftest.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/cli/conftest.py (limited to 'tests/cli/conftest.py') diff --git a/tests/cli/conftest.py b/tests/cli/conftest.py new file mode 100644 index 0000000..97193c9 --- /dev/null +++ b/tests/cli/conftest.py @@ -0,0 +1,14 @@ +import pytest + +fietsctl_results = [] + + +@pytest.hookimpl(hookwrapper=True) +def pytest_runtest_call(item): + fietsctl_results.clear() + + yield + + item.add_report_section( + "call", "fietsctl", "\n\n".join(result.report() for result in fietsctl_results) + ) -- cgit v1.2.3