Skip to content

Commit c77b851

Browse files
tests: add test coverage for backend session crypto
Signed-off-by: John Mulligan <[email protected]>
1 parent 9ab3f70 commit c77b851

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_grpc_backend.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ def _status_json1_check(status):
156156
assert s1.uid == 103107
157157
assert s1.gid == 102513
158158
assert len(status.tcons) == 1
159+
assert s1.encryption
160+
assert s1.encryption.cipher == ""
161+
assert s1.encryption.degree == "none"
162+
assert s1.signing
163+
assert s1.signing.cipher == "AES-128-GMAC"
164+
assert s1.signing.degree == "partial"
159165
t1 = status.tcons[0]
160166
assert t1.tcon_id == "3757739897"
161167
assert t1.session_id == "2891148582"

0 commit comments

Comments
 (0)