Files
extract_otp_secrets/conftest.py
T

12 lines
300 B
Python
Raw Normal View History

import pytest
2022-12-29 21:29:20 +01:00
from typing import Any
2022-12-29 21:29:20 +01:00
def pytest_addoption(parser: pytest.Parser) -> None:
2022-12-29 15:52:17 +01:00
parser.addoption("--relaxed", action='store_true', help="run tests in relaxed mode")
@pytest.fixture
2022-12-29 21:29:20 +01:00
def relaxed(request: pytest.FixtureRequest) -> Any:
return request.config.getoption("--relaxed")