mirror of
https://github.com/scito/extract_otp_secrets.git
synced 2025-12-16 07:17:44 +01:00
docker image with qreader, 2nd image without qreader
- organize imports - add qreader pytest.mark - relaxed mode for pytest - run tests in docker - more tests
This commit is contained in:
10
conftest.py
Normal file
10
conftest.py
Normal file
@@ -0,0 +1,10 @@
|
||||
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")
|
||||
Reference in New Issue
Block a user