'Expect subnet-create to keep semantic with default pools.'

def test_create_subnet_no_cidr_and_default_subnetpool(self):

    with self.network() as network:
        tenant_id = network['network']['tenant_id']
        subnetpool_prefix = '10.0.0.0/8'
        with self.subnetpool(prefixes=[subnetpool_prefix], admin=True, name='My    subnet    pool', tenant_id=tenant_id, min_prefixlen='25', is_default=True):
            data = {'subnet': {'network_id': network['network']['id'], 'ip_version': '4', 'tenant_id': tenant_id}}
            subnet_req = self.new_create_request('subnets', data)
            res = subnet_req.get_response(self.api)
            self.assertEqual(webob.exc.HTTPClientError.code, res.status_int)
