def tests()

in noxfile.py [0:0]


def tests(session):
    """Runs tests"""
    session.run("poetry", "install", external=True)
    session.run("pytest", *session.posargs)