diff options
author | Luong Anh Tuan <tuanla@vn.fujitsu.com> | 2016-08-16 10:43:56 +0700 |
---|---|---|
committer | Tuan <tuanla@vn.fujitsu.com> | 2016-08-17 03:53:57 +0000 |
commit | fb3f7e39e528979655da74ba808e68d05b5c676c (patch) | |
tree | 2838e4ca60aa6ad266c1fba9146acb22707a8d87 /ironic_tempest_plugin | |
parent | e67f9abefb1faaf4ed654f8c15028b5fd28b4fc5 (diff) | |
download | ironic-fb3f7e39e528979655da74ba808e68d05b5c676c.tar.gz |
Fix incorrect order of params of assertEqual()
The correct order of params is assertEqual(expected, actual).
Change-Id: I5c6e2de98319c4381ea7dc6e7f3c86985477f1a3
Diffstat (limited to 'ironic_tempest_plugin')
-rw-r--r-- | ironic_tempest_plugin/tests/api/admin/test_nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic_tempest_plugin/tests/api/admin/test_nodes.py b/ironic_tempest_plugin/tests/api/admin/test_nodes.py index 79eca5573..ce143ae47 100644 --- a/ironic_tempest_plugin/tests/api/admin/test_nodes.py +++ b/ironic_tempest_plugin/tests/api/admin/test_nodes.py @@ -165,5 +165,5 @@ class TestNodes(base.BaseBaremetalTest): def test_get_node_by_instance_uuid(self): instance_uuid = self._associate_node_with_instance() _, body = self.client.show_node_by_instance_uuid(instance_uuid) - self.assertEqual(len(body['nodes']), 1) + self.assertEqual(1, len(body['nodes'])) self.assertIn(self.node['uuid'], [n['uuid'] for n in body['nodes']]) |