We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c381b9d commit 8e31b3eCopy full SHA for 8e31b3e
domdf_python_tools/testing.py
@@ -30,6 +30,7 @@
30
#
31
32
# stdlib
33
+import datetime
34
import itertools
35
import random
36
import sys
@@ -367,3 +368,11 @@ def my_test(tmp_pathplus: PathPlus):
367
368
""" # noqa: D400
369
370
return PathPlus(tmp_path)
371
+
372
373
+def pytest_report_header(config, startdir):
374
+ """
375
+ Prints the start time of the pytest session.
376
377
378
+ return f"Test session started at {datetime.datetime.now():%H:%M:%S}"
0 commit comments