Ejemplo n.º 1
0
 def setUp(self):
     self.phy = MockInterface(OSInterfaceAdapter.get_physical_interfaces()[0], None)
Ejemplo n.º 2
0
 def get_physical_interfaces(cls):
     return OSInterfaceAdapter.get_physical_interfaces()
Ejemplo n.º 3
0
 def setUp(self):
     self.phy = MockInterface(
         OSInterfaceAdapter.get_physical_interfaces()[0], None)