Skip to content

Commit

Permalink
update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
semuadmin committed Nov 19, 2024
1 parent 00aafc6 commit 911c8de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,9 @@ def testbasedateNone(self): # test basedate of None (defaults to current time)
e += 1
continue

self.assertEqual((total, i, e), (422, 257, 165))
self.assertIn(
(total, i, e), ((422, 257, 165), (422, 256, 166))
) # outcome depends on time of day?

def testdecryptionerror(self): # test incorrect decryption key
EXPECTED_ERROR = "Message type SPARTN-1X-OCB-GPS timetag 33190 not successfully decrypted - check key and basedate"
Expand Down

0 comments on commit 911c8de

Please sign in to comment.