MCPcopy
hub / github.com/saltstack/salt / ci_test

Function ci_test

noxfile.py:1218–1226  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

1216
1217@nox.session(python=_PYTHON_VERSIONS, name="ci-test")
1218def ci_test(session):
1219 transport = os.environ.get("SALT_TRANSPORT") or "zeromq"
1220 valid_transports = ("zeromq", "tcp")
1221 if transport not in valid_transports:
1222 session.error(
1223 "The value for the SALT_TRANSPORT environment variable can only be "
1224 f"one of: {', '.join(valid_transports)}"
1225 )
1226 _ci_test(session, transport)
1227
1228
1229@nox.session(python=_PYTHON_VERSIONS, name="ci-test-tcp")

Callers

nothing calls this directly

Calls 3

_ci_testFunction · 0.85
getMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected