tests/ update

This commit is contained in:
NIIBE Yutaka
2016-10-13 10:04:27 +09:00
parent 3c91dce8b7
commit b00bab8dbf
5 changed files with 27 additions and 29 deletions

View File

@@ -8,7 +8,10 @@ def pytest_addoption(parser):
@pytest.fixture(scope="session")
def card():
print()
print("Test start!")
reader = get_ccid_device()
print("Reader:", reader.get_string(1), reader.get_string(2))
card = OpenPGP_Card(reader)
card.cmd_select_openpgp()
yield card