Revision 5fcc3f7c

b/kamaki/clients/network/__init__.py
180 180
        return r.json['subnets']
181 181

  
182 182
    def get_subnet_details(self, subnet_id):
183
        r = self.subnets_get(subnet_id, success=201)
183
        r = self.subnets_get(subnet_id, success=200)
184 184
        return r.json
185 185

  
186 186
    def update_subnet(
b/kamaki/clients/network/test.py
391 391
    def test_get_subnet_details(self, subnets_get):
392 392
        subid, FakeObject.json = 'subid', 'ret val'
393 393
        self.assertEqual(self.client.get_subnet_details(subid), 'ret val')
394
        subnets_get.assert_called_once_with(subid, success=201)
394
        subnets_get.assert_called_once_with(subid, success=200)
395 395

  
396 396
    @patch(
397 397
        'kamaki.clients.network.NetworkClient.subnets_put',

Also available in: Unified diff