aboutsummaryrefslogtreecommitdiff
path: root/tests/test_build.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-10-21 08:56:30 +0000
committerGerrit Code Review <review@openstack.org>2015-10-21 08:56:30 +0000
commita466bcb9396407c8e4c961526a5c95492c0b5371 (patch)
tree8dc007ce95d95c7293e0f478bd8cdd6d0b12b3bb /tests/test_build.py
parent194bb93ff26cfda92ff79742d361350a353ecacd (diff)
parentf39bb2ee13a10d17d5ef1410489c9804fc1c014a (diff)
downloadkolla-a466bcb9396407c8e4c961526a5c95492c0b5371.tar.gz
kolla-a466bcb9396407c8e4c961526a5c95492c0b5371.zip
Merge "In gate functional testing"
Diffstat (limited to 'tests/test_build.py')
-rw-r--r--tests/test_build.py27
1 files changed, 25 insertions, 2 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index 8feb98d00..948e165ac 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -59,8 +59,7 @@ class BuildTest(base.BaseTestCase):
LOG.critical(">>> Expected image '%s' to succeed!" % image)
for image in unmatched_results.keys():
- failures = failures + 1
- LOG.critical(">>> Expected image '%s' to be matched!" % image)
+ LOG.warning(">>> Image '%s' was not matched" % image)
self.assertEqual(failures, 0, "%d failure(s) occurred" % failures)
@@ -84,3 +83,27 @@ class BuildTestUbuntuSource(BuildTest):
super(BuildTestUbuntuSource, self).setUp()
self.build_args.extend(["--base", "ubuntu",
"--type", "source"])
+
+
+class DeployTestCentosBinary(BuildTest):
+ def setUp(self):
+ super(BuildTestCentosBinary, self).setUp()
+ self.build_args.extend(["--base", "centos",
+ "--type", "binary",
+ "--profile", "gate"])
+
+
+class DeployTestCentosSource(BuildTest):
+ def setUp(self):
+ super(BuildTestCentosSource, self).setUp()
+ self.build_args.extend(["--base", "centos",
+ "--type", "source",
+ "--profile", "gate"])
+
+
+class DeployTestUbuntuSource(BuildTest):
+ def setUp(self):
+ super(BuildTestUbuntuSource, self).setUp()
+ self.build_args.extend(["--base", "ubuntu",
+ "--type", "source",
+ "--profile", "gate"])