def pytest_addoption()

in conftest.py [0:0]


def pytest_addoption(parser):
    parser.addoption(
        "--with-integration-tests",
        action="store_true",
        default=False,
        help="run slower integrations tests too",
    )