diff options
| author | wanghong <w.wanghong@huawei.com> | 2015-01-27 17:02:41 +0800 |
|---|---|---|
| committer | wanghong <w.wanghong@huawei.com> | 2015-01-27 17:02:41 +0800 |
| commit | 127af151ff60d11e7b2f88555678cf18b8828e48 (patch) | |
| tree | d34f518408f4a4a471fd26c52ee6dec9ed44c3cf /openstackclient/tests/identity/v2_0/test_user.py | |
| parent | 703a25d445d7b710212633af3a12d8c168208c62 (diff) | |
| download | python-openstackclient-127af151ff60d11e7b2f88555678cf18b8828e48.tar.gz | |
fix the wrong order of assertEqual args
Let's fix them thoroughly.
Change-Id: I8a1f042fb614b05c9836a49041f3883638b870b0
Diffstat (limited to 'openstackclient/tests/identity/v2_0/test_user.py')
| -rw-r--r-- | openstackclient/tests/identity/v2_0/test_user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/tests/identity/v2_0/test_user.py b/openstackclient/tests/identity/v2_0/test_user.py index ccdf240e..6fe82f93 100644 --- a/openstackclient/tests/identity/v2_0/test_user.py +++ b/openstackclient/tests/identity/v2_0/test_user.py @@ -586,7 +586,7 @@ class TestUserSet(TestUser): parsed_args = self.check_parser(self.cmd, arglist, verifylist) result = self.cmd.run(parsed_args) - self.assertEqual(result, 0) + self.assertEqual(0, result) def test_user_set_name(self): arglist = [ |
