Kaydet (Commit) 81945c09 authored tarafından Joffrey F's avatar Joffrey F Kaydeden (comit) GitHub

Merge pull request #1234 from aboch/ip

Adjust test_create_network_with_ipam_config
......@@ -69,9 +69,9 @@ class TestNetworks(helpers.BaseTestCase):
assert ipam.pop('Options', None) is None
assert ipam == {
'Driver': 'default',
'Config': [{
assert ipam['Driver'] == 'default'
assert ipam['Config'] == [{
'Subnet': "172.28.0.0/16",
'IPRange': "172.28.5.0/24",
'Gateway': "172.28.5.254",
......@@ -80,8 +80,7 @@ class TestNetworks(helpers.BaseTestCase):
"b": "172.28.1.6",
"c": "172.28.1.7",
},
}],
}
}]
@requires_api_version('1.21')
def test_create_network_with_host_driver_fails(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment