diff options
author | Christian Berendt <berendt@b1-systems.de> | 2014-09-09 09:46:35 +0200 |
---|---|---|
committer | Christian Berendt <berendt@b1-systems.de> | 2014-09-09 09:47:15 +0200 |
commit | cf3fa3193ce1214f2e9950e640541f2697a3f17e (patch) | |
tree | 57c90350b2a9651b3504b0cd7a8d83dea62d3e15 | |
parent | 0f6cfb970f6dd63bfbf4cf61bc21f7495c66d582 (diff) | |
download | python-keystoneclient-cf3fa3193ce1214f2e9950e640541f2697a3f17e.tar.gz |
Change 'secrete' to 'secret'
Removal of a spelling error.
Change-Id: If59dec6c226e86177019b665a5f0a0e5d42e6316
-rw-r--r-- | keystoneclient/tests/test_shell.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/keystoneclient/tests/test_shell.py b/keystoneclient/tests/test_shell.py index 2f7586b..9ca3d41 100644 --- a/keystoneclient/tests/test_shell.py +++ b/keystoneclient/tests/test_shell.py @@ -229,7 +229,7 @@ class ShellTest(utils.TestCase): # Old_style options # Test case with one --tenant_id args present: ec2 creds shell('user-create --name=FOO ' - '--pass=secrete --tenant_id=barrr --enabled=true') + '--pass=secret --tenant_id=barrr --enabled=true') assert do_uc_mock.called ((a, b), c) = do_uc_mock.call_args actual = (b.os_auth_url, b.os_password, b.os_tenant_id, @@ -239,13 +239,13 @@ class ShellTest(utils.TestCase): DEFAULT_TENANT_NAME, DEFAULT_USERNAME, '') self.assertTrue(all([x == y for x, y in zip(actual, expect)])) actual = (b.tenant_id, b.name, b.passwd, b.enabled) - expect = ('barrr', 'FOO', 'secrete', 'true') + expect = ('barrr', 'FOO', 'secret', 'true') self.assertTrue(all([x == y for x, y in zip(actual, expect)])) # New-style options # Test case with one --tenant args present: ec2 creds shell('user-create --name=foo ' - '--pass=secrete --tenant=BARRR --enabled=true') + '--pass=secret --tenant=BARRR --enabled=true') assert do_uc_mock.called ((a, b), c) = do_uc_mock.call_args actual = (b.os_auth_url, b.os_password, b.os_tenant_id, @@ -255,13 +255,13 @@ class ShellTest(utils.TestCase): DEFAULT_TENANT_NAME, DEFAULT_USERNAME, '') self.assertTrue(all([x == y for x, y in zip(actual, expect)])) actual = (b.tenant, b.name, b.passwd, b.enabled) - expect = ('BARRR', 'foo', 'secrete', 'true') + expect = ('BARRR', 'foo', 'secret', 'true') self.assertTrue(all([x == y for x, y in zip(actual, expect)])) # New-style options # Test case with one --tenant-id args present: ec2 creds shell('user-create --name=foo ' - '--pass=secrete --tenant-id=BARRR --enabled=true') + '--pass=secret --tenant-id=BARRR --enabled=true') assert do_uc_mock.called ((a, b), c) = do_uc_mock.call_args actual = (b.os_auth_url, b.os_password, b.os_tenant_id, @@ -271,13 +271,13 @@ class ShellTest(utils.TestCase): DEFAULT_TENANT_NAME, DEFAULT_USERNAME, '') self.assertTrue(all([x == y for x, y in zip(actual, expect)])) actual = (b.tenant, b.name, b.passwd, b.enabled) - expect = ('BARRR', 'foo', 'secrete', 'true') + expect = ('BARRR', 'foo', 'secret', 'true') self.assertTrue(all([x == y for x, y in zip(actual, expect)])) # Old_style options # Test case with --os_tenant_id and --tenant_id args present shell('--os_tenant_id=os-tenant user-create --name=FOO ' - '--pass=secrete --tenant_id=barrr --enabled=true') + '--pass=secret --tenant_id=barrr --enabled=true') assert do_uc_mock.called ((a, b), c) = do_uc_mock.call_args actual = (b.os_auth_url, b.os_password, b.os_tenant_id, @@ -287,13 +287,13 @@ class ShellTest(utils.TestCase): DEFAULT_TENANT_NAME, DEFAULT_USERNAME, '') self.assertTrue(all([x == y for x, y in zip(actual, expect)])) actual = (b.tenant_id, b.name, b.passwd, b.enabled) - expect = ('barrr', 'FOO', 'secrete', 'true') + expect = ('barrr', 'FOO', 'secret', 'true') self.assertTrue(all([x == y for x, y in zip(actual, expect)])) # New-style options # Test case with --os-tenant-id and --tenant-id args present shell('--os-tenant-id=ostenant user-create --name=foo ' - '--pass=secrete --tenant-id=BARRR --enabled=true') + '--pass=secret --tenant-id=BARRR --enabled=true') assert do_uc_mock.called ((a, b), c) = do_uc_mock.call_args actual = (b.os_auth_url, b.os_password, b.os_tenant_id, @@ -303,7 +303,7 @@ class ShellTest(utils.TestCase): DEFAULT_TENANT_NAME, DEFAULT_USERNAME, '') self.assertTrue(all([x == y for x, y in zip(actual, expect)])) actual = (b.tenant, b.name, b.passwd, b.enabled) - expect = ('BARRR', 'foo', 'secrete', 'true') + expect = ('BARRR', 'foo', 'secret', 'true') self.assertTrue(all([x == y for x, y in zip(actual, expect)])) def test_do_tenant_create(self): |