Skip to content

Commit 375b910

Browse files
committed
chore: verify that CryptoResult casts to a tuple as expected
1 parent 32cb56a commit 375b910

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/unit/test_structures.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,9 @@ def test_cryptoresult_getitem(ex_result):
195195

196196
assert data is ex_result.result
197197
assert header is ex_result.header
198+
199+
200+
def test_cryptoresult_to_tuple(ex_result):
201+
test = tuple(ex_result)
202+
203+
assert test == ex_result._legacy_container

0 commit comments

Comments
 (0)