

def test_get_address_summary(self):
    ret = self.net3.get_total_ips()
    self.assertEquals(ret, 32767)
    ret = self.net3.get_free_ips()
    self.assertEquals(ret, 32500)
    ret = self.net3.get_ip_usage_range()
    correct_range = [self.ip1, self.ip3, self.net4]
    self.assertEquals(ret, correct_range)

dataset/ETHPy150Open allegro/ralph/src/ralph/data_center/tests/test_models.py NetworkTest.test_get_address_summary/original