summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
authorTerry Howe <terrylhowe@gmail.com>2014-08-18 05:41:58 -0600
committerTerry Howe <terrylhowe@gmail.com>2014-08-18 05:41:58 -0600
commitcecf1a77377b87ea6e3c36e30c9664f7b79dc309 (patch)
treeb7008f7705fdffce1d710d68dddb2cc8ad7c31a7 /openstackclient/tests
parent19b8605224156c48107541580a264860131b57ab (diff)
downloadpython-openstackclient-cecf1a77377b87ea6e3c36e30c9664f7b79dc309.tar.gz
Network use enable/disable vs admin state up/down
Use --enable and --disable vs --admin-state-up/--admin-state-down Change-Id: I90040b925cb537a8ba13d1dd609c51bb669cf149
Diffstat (limited to 'openstackclient/tests')
-rw-r--r--openstackclient/tests/network/v2/test_network.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/tests/network/v2/test_network.py b/openstackclient/tests/network/v2/test_network.py
index 08b61a0a..468db5e0 100644
--- a/openstackclient/tests/network/v2/test_network.py
+++ b/openstackclient/tests/network/v2/test_network.py
@@ -61,7 +61,7 @@ class TestCreateNetwork(common.TestNetworkBase):
def test_create_all_options(self):
arglist = [
- "--admin-state-down",
+ "--disable",
"--share",
FAKE_NAME,
] + self.given_show_options
@@ -88,7 +88,7 @@ class TestCreateNetwork(common.TestNetworkBase):
def test_create_other_options(self):
arglist = [
- "--admin-state-up",
+ "--enable",
"--no-share",
FAKE_NAME,
]
@@ -220,7 +220,7 @@ class TestSetNetwork(common.TestNetworkBase):
def test_set_this(self):
arglist = [
FAKE_NAME,
- '--admin-state-up',
+ '--enable',
'--name', 'noob',
'--share',
]
@@ -247,7 +247,7 @@ class TestSetNetwork(common.TestNetworkBase):
def test_set_that(self):
arglist = [
FAKE_NAME,
- '--admin-state-down',
+ '--disable',
'--no-share',
]
verifylist = [