commit | ebc2186e7ffe89dadea833c1c4ddd0bee3cd58d2 | [log] [tgz] |
---|---|---|
author | Slawek Kaplonski <skaplons@redhat.com> | Thu Jan 31 00:22:41 2019 +0100 |
committer | Slawek Kaplonski <skaplons@redhat.com> | Thu Jan 31 00:22:41 2019 +0100 |
tree | 170a8896f948e1f83d40a69e8fc801fb80b63201 | |
parent | 91d92424bc49350ee6eff8dce0c6eb3fd18d8fb0 [diff] |
Convert result of hosts.values() to list always In Python 3 dict.values() returns a dictionary view object which don't support indexing. Because of that some tests in tempest.api.compute.admin.test_servers_on_multinodes module were failing when running on python 3. This patch fixes this issue by converting result of dict.values() method to list always. Change-Id: I5580dd7a6f22fbe880ea81b3e36b3d6111209958