MCPcopy Create free account
hub / github.com/saltstack/salt / pytest

Function pytest

noxfile.py:652–666  ·  view source on GitHub ↗

pytest session with zeromq transport and default crypto

(session, coverage)

Source from the content-addressed store, hash-verified

650@nox.session(python=_PYTHON_VERSIONS)
651@nox.parametrize("coverage", [False, True])
652def pytest(session, coverage):
653 """
654 pytest session with zeromq transport and default crypto
655 """
656 try:
657 session_name = session.name
658 except AttributeError:
659 session_name = session._runner.friendly_name
660 session_warn(
661 session,
662 "This nox session is deprecated, please call {!r} instead".format(
663 session_name.replace("pytest-", "test-")
664 ),
665 )
666 session.notify(session_name.replace("pytest-", "test-"))
667
668
669@nox.session(python=_PYTHON_VERSIONS, name="test-tcp")

Callers

nothing calls this directly

Calls 2

session_warnFunction · 0.85
formatMethod · 0.80

Tested by

no test coverage detected