mirror of
https://github.com/scito/extract_otp_secret_keys
synced 2024-11-16 06:15:17 +00:00
0490e227e1
- organize imports - add qreader pytest.mark - relaxed mode for pytest - run tests in docker - more tests
11 lines
225 B
Python
11 lines
225 B
Python
import pytest
|
|
|
|
|
|
def pytest_addoption(parser):
|
|
parser.addoption( "--relaxed", action='store_true', help="run tests in relaxed mode")
|
|
|
|
|
|
@pytest.fixture
|
|
def relaxed(request):
|
|
return request.config.getoption("--relaxed")
|