Exemplo n.º 1
0
 def test_d_req(self):
     packet = SimPacket(d_req)
     self.assertEquals(0x09, packet.getRequestedDescriptorSize())
     self.assertTrue(packet.isDescriptorPacket())
Exemplo n.º 2
0
 def test_d_req(self):
     packet = SimPacket(d_req)
     self.assertEquals(d_req_hex, packet.format())
     self.assertTrue(packet.isDescriptorPacket())