def setUp(self): self.interface = Interface('lo') # clean the environment before we start self.tearDown()
def setUp(self): self.interface = Interface('lo') self.pf = pfifoQdisc('1:') self.interface.add(self.pf) self.interface.set_shaping()