def test_send_event(self):
        # Note lack of filter!
        self.tr.clear()
        init_outstanding_ack = self.proto.outstanding_ack
        self.proto.send_event(DummyEvent())
        self.assertEqual(self.tr.value()[4:], DummyEvent().raw_bytes)
        self.assertEqual(init_outstanding_ack - self.proto.outstanding_ack, 1)
dataset/ETHPy150Open jdswinbank/Comet/comet/protocol/test/test_voeventbroadcaster.py/VOEventBroadcasterTestCase.test_send_event/swapped operands of `-`