Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/d/0/d0016e-project-in-computer-science-and-engineering-coap-vehicle-testing-HEAD/code/server/coapy/unittests/test-connection.py   d0016e-project-in-computer-science-and-engineering-coap-vehicle-testing(Download)
        self.assertEqual(1, len(self.__send_history))
        ack = Message(Message.ACK)
        self._real_sendto(ack._pack(xr.transaction_id), self.__address)
        rv = ep.process(0)
        self.assertEqual(xr.response_type, Message.ACK)
        transaction_id = 0x1234
        packed = m._pack(transaction_id)
        self._real_sendto(packed, self.__address)
 
        self.assertEqual(0, len(self.__send_history))

src/c/o/COAP-HEAD/unittests/test-connection.py   COAP(Download)
        self.assertEqual(1, len(self.__send_history))
        ack = Message(Message.ACK)
        self._real_sendto(ack._pack(xr.transaction_id), self.__address)
        rv = ep.process(0)
        self.assertEqual(xr.response_type, Message.ACK)
        transaction_id = 0x1234
        packed = m._pack(transaction_id)
        self._real_sendto(packed, self.__address)
 
        self.assertEqual(0, len(self.__send_history))