We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ee99ed commit 6986dfaCopy full SHA for 6986dfa
irctest/server_tests/time.py
@@ -11,6 +11,12 @@ def testTime(self):
11
self.connectClient("user")
12
13
time_before = math.floor(time.time())
14
+ if self.controller.software_name == "Bahamut":
15
+ # Bahamut's io_loop() sets NOW = time(NULL) *then* waits for events,
16
+ # and reads NOW from the event handlers.
17
+ # This means that its time can be off by as much as its read timeout.
18
+ time_before -= 1
19
+
20
self.sendLine(1, "TIME")
21
22
msg = self.getMessage(1)
0 commit comments