def pytest_addoption(parser: Parser) -> None:
    parser.addoption(
        "--roundtrip-neptune", action="store_true", default=False, help="Run roundtrip tests. These tests are slow and require \
        a configured neptune instance."
    )
    parser.addoption(
        "--roundtrip-janusgraph", action="store_true", default=False, help="Run roundtrip tests. These tests are slow and require \
        a configured janusgraph instance."
    )
Beispiel #2
0
def pytest_addoption(parser: Parser) -> None:
    parser.addoption('--repeat', action='store',
                     help='Number of times to repeat each test')