def test_receive_iamalive(self):
        self.tr.clear()
        init_alive_count = self.proto.alive_count
        self.proto.stringReceived(DUMMY_IAMALIVE)
        self.assertEqual(self.tr.value(), b"")
        self.assertEqual(init_alive_count - self.proto.alive_count, 1)
dataset/ETHPy150Open jdswinbank/Comet/comet/protocol/test/test_voeventbroadcaster.py/VOEventBroadcasterTestCase.test_receive_iamalive/original