From 7a34bb1095c44e6f83b21323d8a821fcda3827c7 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 23 Jan 2024 22:09:29 -0800 Subject: [PATCH] Show Datasette version in pytest header --- tests/conftest.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/conftest.py diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..c1c3c47 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,5 @@ +import datasette + + +def pytest_report_header(): + return "Datasette: {}".format(datasette.__version__)