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:
Lucian Petrut
2026-09-07 11:52:46 +00:00
parent 4ddf0c015d
commit 1e9c2816ef
15 changed files with 403 additions and 454 deletions
+1 -1
View File
@@ -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