def test()

in noxfile.py [0:0]


def test(session: nox.Session, pydantic: str, httpx: str) -> None:
    """Runs tests"""
    session.run("poetry", "install", "--all-extras", external=True)
    session.install(f"pydantic=={pydantic}")
    session.install(f"httpx=={httpx}")
    session.run("pytest")