(self)
| 40 | self.assertSamePackets(pkt_outs[0][0], pkt_in) |
| 41 | |
| 42 | def test_dropall(self): |
| 43 | drop0 = RandomSplit(drop_rate=1, gates=[0]) |
| 44 | pkt_in = get_udp_packet() |
| 45 | pkt_outs = self.run_module(drop0, 0, [pkt_in], [0]) |
| 46 | self.assertEquals(len(pkt_outs[0]), 0) |
| 47 | |
| 48 | def _drop_with_rate(self, rate): |
| 49 |
nothing calls this directly
no test coverage detected