

def test_mgmt_storage_networks_have_no_gateway(self):
    resp = self.env.nova_networks_get(self.cluster.id)
    self.assertEqual(200, resp.status_code)
    data = resp.json_body
    for net in data['networks']:
        if (net['name'] in ['management', 'storage']):
            self.assertIsNone(net['gateway'])

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_network_configuration.py TestNovaNetworkConfigurationHandler.test_mgmt_storage_networks_have_no_gateway/original