mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-08 07:45:01 +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:
parent
2bcaa35251
commit
0490e227e1
10 changed files with 159 additions and 31 deletions
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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue