count bytes missing
This commit is contained in:
parent
4669619f7e
commit
40919b51be
|
@ -519,7 +519,7 @@ class TransitServerState(object):
|
|||
relaying.upon(
|
||||
got_bytes,
|
||||
enter=relaying,
|
||||
outputs=[_send_to_partner],
|
||||
outputs=[_count_bytes, _send_to_partner],
|
||||
)
|
||||
relaying.upon(
|
||||
connection_lost,
|
||||
|
|
|
@ -415,7 +415,7 @@ class Usage(ServerBase, unittest.TestCase):
|
|||
self.assertEqual(len(self._usage), 1, self._usage)
|
||||
self.assertEqual(self._usage[0]["mood"], "happy", self._usage)
|
||||
self.assertEqual(self._usage[0]["total_bytes"], 20)
|
||||
self.assertNotIdentical(waiting_time, None)
|
||||
self.assertNotIdentical(self._usage[0]["waiting_time"], None)
|
||||
|
||||
def test_redundant(self):
|
||||
p1a = self.new_protocol()
|
||||
|
|
Loading…
Reference in New Issue
Block a user