test: Fully cover boxstream.py with tests

This commit is contained in:
2023-11-06 04:41:31 +01:00
parent 9ea816f832
commit 5807e64462
2 changed files with 43 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ def get_stream_pair( # pylint: disable=too-many-arguments
decrypt_nonce: bytes,
encrypt_key: bytes,
encrypt_nonce: bytes,
# We have kwargs here to devour any extra parameters we get, e.g. from the output of SHSCryptoBase.get_box_keys()
**kwargs: Any,
) -> Tuple["UnboxStream", "BoxStream"]:
"""Create a new duplex box stream"""