diff options
Diffstat (limited to 'test/daemon.py')
| -rw-r--r-- | test/daemon.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/daemon.py b/test/daemon.py index e10b3c1f..3a481c00 100644 --- a/test/daemon.py +++ b/test/daemon.py @@ -313,13 +313,13 @@ class Replica: return 'refused', why def ping(self, value): - """One round trip, in ms (the session's units and terminal - messages on the way are passed over).""" + """One round trip, in ms (the session's units on the way are + passed over).""" t = time.monotonic() self.send(0x03, struct.pack('<Q', value)) while True: tag, body = self.read() - if tag not in (0x05, 0x06): + if tag != 0x05: break assert (tag, body) == (0x03, struct.pack('<Q', value)), (tag, body) return (time.monotonic() - t) * 1000 |
