diff --git a/tests/test_stream.py b/tests/test_stream.py index 0769e63..d63f797 100644 --- a/tests/test_stream.py +++ b/tests/test_stream.py @@ -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"