Skip to content

Commit

Permalink
py: Add typecheck to pairing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Neuroth <[email protected]>
  • Loading branch information
nepet committed Jul 24, 2024
1 parent a64a124 commit 7a24cba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/gl-client-py/tests/test_pairing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from fixtures import *
from glclient.pairing import NewDeviceClient, AttestationDeviceClient
from glclient import Credentials
import glclient.scheduler_pb2 as schedpb
import pytest

@pytest.fixture
Expand Down Expand Up @@ -35,6 +36,7 @@ def test_pairing_session(sclient, signer, creds):
# check for pairing data.
session_id = m.split(':')[1]
m = ac.get_pairing_data(session_id)
assert(isinstance(m, schedpb.GetPairingDataResponse))
assert m.session_id
assert m.csr
assert m.device_name == name
Expand Down

0 comments on commit 7a24cba

Please sign in to comment.