

def test_summary_by_datacenter(self):
    result = self.network.summary_by_datacenter()
    expected = {
        'dal00': {
            'hardware_count': 1,
            'virtual_guest_count': 1,
            'subnet_count': 0,
            'public_ip_count': 6,
            'vlan_count': 3,
        },
    }
    self.assertEqual(expected, result)

dataset/ETHPy150Open softlayer/softlayer-python/tests/managers/network_tests.py NetworkTests.test_summary_by_datacenter/original