

def test_get_subnet(self):
    result = self.network.get_subnet(9876)
    self.assertEqual(result, fixtures.SoftLayer_Network_Subnet.getObject)
    self.assert_called_with('SoftLayer_Network_Subnet', 'getObject', identifier=9876)

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