We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
preenvcheck
1 parent 1d9c0a9 commit eef42e5Copy full SHA for eef42e5
topotato/hooks.py
@@ -18,6 +18,11 @@
18
from .types import ISession
19
20
21
+@hookspec()
22
+def pytest_topotato_preenvcheck(session: "ISession"):
23
+ pass
24
+
25
26
@hookspec()
27
def pytest_topotato_envcheck(session: "ISession", result: EnvcheckResult):
28
pass
topotato/pytestintegration.py
@@ -83,6 +83,7 @@ def pytest_sessionstart(session):
83
84
envstate = EnvcheckResult()
85
86
+ session.config.hook.pytest_topotato_preenvcheck(session=session)
87
session.config.hook.pytest_topotato_envcheck(session=session, result=envstate)
88
89
if os.getuid() != 0:
0 commit comments