MCPcopy
hub / github.com/pypa/sampleproject / tests

Function tests

noxfile.py:44–53  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

42
43@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"])
44def tests(session):
45 session.install("pytest")
46 build_and_check_dists(session)
47
48 generated_files = os.listdir("dist/")
49 generated_sdist = os.path.join("dist/", generated_files[1])
50
51 session.install(generated_sdist)
52
53 session.run("py.test", "tests/", *session.posargs)

Callers

nothing calls this directly

Calls 1

build_and_check_distsFunction · 0.85

Tested by

no test coverage detected