summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2023-01-21 09:34:39 -0800
committerJesse Morgan <jesse@jesterpm.net>2023-01-21 09:53:11 -0800
commitb38e259457fe68003f4d8e8eaffb17ee985eb013 (patch)
tree3a82c4a708a34a2e18ec0be3f8347c35ca330607 /tests
parentfbcfa91c84aa4bb8105b5630152f2369b6d82281 (diff)
Missing python3 changes
Diffstat (limited to 'tests')
-rw-r--r--tests/test_canarydb.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_canarydb.py b/tests/test_canarydb.py
index 195387e..47bdc52 100644
--- a/tests/test_canarydb.py
+++ b/tests/test_canarydb.py
@@ -16,7 +16,7 @@ class TestCanaryDB(unittest.TestCase):
def testPingCheckPong(self):
listAddress = "list@example.com"
address = "test@example.com"
- time = datetime.datetime(2015, 10, 24, 9, 00)
+ time = datetime.datetime(2015, 10, 24, 9, 0)
uuid = "1234"
expectedDelta = datetime.datetime.now() - time
@@ -36,7 +36,7 @@ class TestCanaryDB(unittest.TestCase):
self.assertTrue(delta <= 10)
# Record a pong
- pongtime = datetime.datetime(2015, 10, 24, 9, 05)
+ pongtime = datetime.datetime(2015, 10, 24, 9, 5)
self.db.pong(address, pongtime, uuid)
# Check for missing pongs
@@ -46,7 +46,7 @@ class TestCanaryDB(unittest.TestCase):
def testCloseReopen(self):
listAddress = "list@example.com"
address = "test@example.com"
- time = datetime.datetime(2015, 10, 24, 9, 00)
+ time = datetime.datetime(2015, 10, 24, 9, 0)
uuid = "1234"
expectedDelta = datetime.datetime.now() - time