def pytest_configure(config):
    """
    Configure plugins and custom markers

    This function is called by pytest after command line arguments have
    been parsed. See https://docs.pytest.org/en/stable/reference/reference.html#pytest.hookspec.pytest_configure
    for more information.
    """
    # register our custom markers
    config.addinivalue_line(
        "markers", "auth: mark test to run only on auth environments"
    )
    config.addinivalue_line(
        "markers", "github_api: mark test to run only with GitHub API credentials"
    )
    config.addinivalue_line(
        "markers", "remote: mark test for when BinderHub is already running somewhere."
    )
    config.addinivalue_line(
        "markers",
        "helm: mark test to only run when BinderHub is launched with our k8s-binderhub test config.",
    )

    Configure plugins and custom markers

    This function is called by pytest after command line arguments have
    been parsed. See https://docs.pytest.org/en/stable/reference/reference.html#pytest.hookspec.pytest_configure
    for more information.
    
binderhub/tests/conftest.py