summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSalvatore Orlando <salv.orlando@gmail.com>2013-03-26 09:01:29 +0100
committerSalvatore Orlando <salv.orlando@gmail.com>2013-05-16 12:11:33 +0200
commit2815be00b02320c22b04e888b573ab040e3f82c5 (patch)
treef4e0a2f673fbbb2d3d4d4ce9ff122e98e9acc7f5 /tests
parenteba4e345fc981544fec9e9dabb912e89c37a3763 (diff)
downloadpython-neutronclient-2815be00b02320c22b04e888b573ab040e3f82c5.tar.gz
CLI support for disabling SNAT
blueprint l3-ext-gw-modes Adds the --disable-snat option to the router-gateway-set command Change-Id: I1e6e339e3332d7073f761f407318811f22d283b1
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_cli20_router.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test_cli20_router.py b/tests/unit/test_cli20_router.py
index 5c545d8..4868320 100644
--- a/tests/unit/test_cli20_router.py
+++ b/tests/unit/test_cli20_router.py
@@ -159,7 +159,8 @@ class CLITestV20RouterJSON(CLITestV20Base):
self._test_update_resource(resource, cmd, 'myid',
args,
{"external_gateway_info":
- {"network_id": "externalid"}}
+ {"network_id": "externalid",
+ "enable_snat": True}}
)
def test_remove_gateway(self):