aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index d32188b55..d95208968 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -48,11 +48,11 @@ class BuildTest(object):
with patch.object(sys, 'argv', self.build_args):
LOG.info("Running with args %s", self.build_args)
(bad_results, good_results, unmatched_results,
- skipped_results) = build.run_build()
+ skipped_results, unbuildable_results) = build.run_build()
failures = 0
for image, result in bad_results.items():
- if result is not 'error':
+ if result != 'error':
continue
failures = failures + 1
LOG.critical(">>> Expected image '%s' to succeed!", image)