Searched refs:get_ipaddr (Results 1 – 4 of 4) sorted by relevance
108 def get_ipaddr(self): member in network_interface_mock111 return super(network_interface_mock, self).get_ipaddr()
121 self.orig_ipaddr = self.get_ipaddr()336 def get_ipaddr(self): member in network_interface
766 self.assertEquals(mock_netif.get_ipaddr(), ip_addr)771 self.assertEquals(mock_netif.get_ipaddr(), '0.0.0.0')776 self.assertEquals(mock_netif.get_ipaddr(), '0.0.0.0')783 self.assertEquals(mock_netif.get_ipaddr(), ip_addr)
118 if self.netif.get_ipaddr() != ip_addr: