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

Function pytest_cloud

noxfile.py:995–1009  ·  view source on GitHub ↗

pytest cloud tests session

(session, coverage)

Source from the content-addressed store, hash-verified

993@nox.session(python=_PYTHON_VERSIONS, name="pytest-cloud")
994@nox.parametrize("coverage", [False, True])
995def pytest_cloud(session, coverage):
996 """
997 pytest cloud tests session
998 """
999 try:
1000 session_name = session.name
1001 except AttributeError:
1002 session_name = session._runner.friendly_name
1003 session_warn(
1004 session,
1005 "This nox session is deprecated, please call {!r} instead".format(
1006 session_name.replace("pytest-", "test-")
1007 ),
1008 )
1009 session.notify(session_name.replace("pytest-", "test-"))
1010
1011
1012@nox.session(python=_PYTHON_VERSIONS, name="test-tornado")

Callers

nothing calls this directly

Calls 2

session_warnFunction · 0.85
formatMethod · 0.80

Tested by

no test coverage detected