diff options
| author | confi-surya <singh.surya64mnnit@gmail.com> | 2018-11-30 16:59:02 +0530 |
|---|---|---|
| committer | confi-surya <singh.surya64mnnit@gmail.com> | 2018-12-03 10:21:27 +0530 |
| commit | 8504a20609af4bd7b1c5dd7b29f77e9bc4bfa38f (patch) | |
| tree | c2e582c2f8436376c666922ccbe09aa0a077c0dd /tests | |
| parent | 71cc369e532c3e920ef35d81d599a7e360d3256b (diff) | |
| download | kolla-8504a20609af4bd7b1c5dd7b29f77e9bc4bfa38f.tar.gz kolla-8504a20609af4bd7b1c5dd7b29f77e9bc4bfa38f.zip | |
No need to use dict_object.keys()
for in dict_object.keys() can be replaced with
for in dict_object, so just a short cleaup
Change-Id: Id934eae6db05298b85b800531b9dfdcb28782cc5
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index 7c4c7dea2..92ddaa7fd 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -56,7 +56,7 @@ class BuildTest(object): failures = failures + 1 LOG.critical(">>> Expected image '%s' to succeed!", image) - for image in unmatched_results.keys(): + for image in unmatched_results: LOG.warning(">>> Image '%s' was not matched", image) self.assertEqual(failures, 0, "%d failure(s) occurred" % failures) |
