summaryrefslogtreecommitdiff
path: root/openstackclient/tests/object/v1
diff options
context:
space:
mode:
authorwanghong <w.wanghong@huawei.com>2015-01-27 17:02:41 +0800
committerwanghong <w.wanghong@huawei.com>2015-01-27 17:02:41 +0800
commit127af151ff60d11e7b2f88555678cf18b8828e48 (patch)
treed34f518408f4a4a471fd26c52ee6dec9ed44c3cf /openstackclient/tests/object/v1
parent703a25d445d7b710212633af3a12d8c168208c62 (diff)
downloadpython-openstackclient-127af151ff60d11e7b2f88555678cf18b8828e48.tar.gz
fix the wrong order of assertEqual args
Let's fix them thoroughly. Change-Id: I8a1f042fb614b05c9836a49041f3883638b870b0
Diffstat (limited to 'openstackclient/tests/object/v1')
-rw-r--r--openstackclient/tests/object/v1/test_object_all.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/tests/object/v1/test_object_all.py b/openstackclient/tests/object/v1/test_object_all.py
index f2001e91..7a76ab76 100644
--- a/openstackclient/tests/object/v1/test_object_all.py
+++ b/openstackclient/tests/object/v1/test_object_all.py
@@ -105,11 +105,11 @@ class TestObjectList(TestObjectAll):
columns, data = self.cmd.take_action(parsed_args)
collist = ('Name',)
- self.assertEqual(columns, collist)
+ self.assertEqual(collist, columns)
datalist = (
(object_fakes.object_name_2, ),
)
- self.assertEqual(tuple(data), datalist)
+ self.assertEqual(datalist, tuple(data))
class TestObjectShow(TestObjectAll):