Searched refs:get_interface_ip (Results 1 – 3 of 3) sorted by relevance
24 def get_interface_ip(interface='eth0'): function105 machine = get_interface_ip(interface)
30 labconfig.get_interface_ip = mock.Mock(return_value = dut1_ip)
69 self.assertEqual('127.0.0.1', labconfig.get_interface_ip('lo'))