def test_packet_nbns_01(self): packet = Packet.from_line("0.0\t06\t1\t1\t2\tnbns\t1\tresponse\t") self.assertTrue( p.packet_nbns_0(packet, self.conversation, self.context))
def test_packet_nbns_00(self): packet = traffic.Packet("0.0\t06\t1\t2\t1\tnbns\t0\tquery\t") self.assertTrue( p.packet_nbns_0(packet, self.conversation, self.context))