Files
OpenVixDiskLib/tests/integration/test_nfc_auth.py
T
Lucian Petrut 1e9c2816ef tests: use pytest instead of unittest
pytest provides session scoped fixtures, making it much easier
to reuse resources across tests.
2026-09-07 11:52:46 +00:00

19 lines
618 B
Python

# Copyright 2026 Cloudbase Solutions Srl
# All Rights Reserved.
"""Exercise VDDK-compatible NFC authentication against the lab vCenter."""
from tests.integration.base import LabEnv
class TestNfcAuth:
def test_authd_handshake_completes(self, lab: LabEnv) -> None:
"""Complete VIM login and authd PROXY through ``200 Connect``."""
with lab.authenticate() as session:
ticket = session.ticket
assert ticket.host
assert ticket.port
assert ticket.sessionId
assert session.authd_sock.version()
assert session.authd_sock.cipher()