[Git][NTPsec/ntpsec][master] Removed unnecessary tests that failed

Ian Bruene gitlab at mg.gitlab.com
Fri Oct 6 02:37:52 UTC 2017


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
b8fa5fa0 by Ian Bruene at 2017-10-05T21:35:01-05:00
Removed unnecessary tests that failed

- - - - -


1 changed file:

- tests/pylib/test_packet.py


Changes:

=====================================
tests/pylib/test_packet.py
=====================================
--- a/tests/pylib/test_packet.py
+++ b/tests/pylib/test_packet.py
@@ -322,8 +322,6 @@ class TestSyncPacket(unittest.TestCase):
 
     def test_ntp_to_posix(self):
         f = self.target.ntp_to_posix
-        # Test the Timeless Void Before Existence
-        self.assertEqual(f(-1), -2208988801)  # NTP can see the Timeless Void
         # Test beginning of NTP epoch
         self.assertEqual(f(0), -2208988800)
         # Test just before the Age of Unix
@@ -332,8 +330,6 @@ class TestSyncPacket(unittest.TestCase):
         self.assertEqual(f(2208988800 * 2**32), 0)
         # Test the End of Time
         self.assertEqual(f(0xFFFFFFFF00000000), 2085978495)
-        # Test the Timeless Void Beyond Existence
-        self.assertEqual(f(0x10000000000000000), 2085978496)  # It doesn't clip
 
     def test_posix_to_ntp(self):
         f = self.target.posix_to_ntp



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/b8fa5fa0d5d1f17f19388beed03f4e62926b6702

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/b8fa5fa0d5d1f17f19388beed03f4e62926b6702
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171006/f0fb25cf/attachment.html>


More information about the vc mailing list