tests: use pytest instead of unittest
pytest provides session scoped fixtures, making it much easier to reuse resources across tests.
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ classic type 4 `NFC_SESSION_COMPLETE`.
|
||||
Run:
|
||||
|
||||
```bash
|
||||
.venv/bin/python -m unittest tests.integration.test_nfc_open
|
||||
.venv/bin/pytest tests/integration/test_nfc_open.py
|
||||
```
|
||||
|
||||
The test opens the temporary lab VMDK, asserts an opaque handle and
|
||||
|
||||
Reference in New Issue
Block a user