diff options
| author | lijing <lijing@gohighsec.com> | 2016-11-11 17:57:10 +0800 |
|---|---|---|
| committer | Jeremy Liu <liujiong@gohighsec.com> | 2016-11-12 23:27:45 +0800 |
| commit | f6a525ed85fa31d05c1450e936a2dd3d20a77be6 (patch) | |
| tree | de118120454b636d9eb1324c897955d8dc79eb34 /kolla/tests | |
| parent | dbb0ade6d1e314b21de380667b6228d64db87973 (diff) | |
| download | kolla-f6a525ed85fa31d05c1450e936a2dd3d20a77be6.tar.gz kolla-f6a525ed85fa31d05c1450e936a2dd3d20a77be6.zip | |
Extract kolla exceptions into a single exception.py file
Change-Id: I03388360b6ac735d5a6f380a7956cd91ab449131
Diffstat (limited to 'kolla/tests')
| -rw-r--r-- | kolla/tests/test_build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kolla/tests/test_build.py b/kolla/tests/test_build.py index 980413468..62e107972 100644 --- a/kolla/tests/test_build.py +++ b/kolla/tests/test_build.py @@ -17,6 +17,7 @@ import os import requests from kolla.cmd import build as build_cmd +from kolla import exception from kolla.image import build from kolla.tests import base @@ -170,7 +171,7 @@ class KollaWorkerTest(base.TestCase): ['ubuntu', 'debian'], ['rdo', 'rhos']): self.conf.set_override('base', base_distro) self.conf.set_override('install_type', install_type) - self.assertRaises(build.KollaMismatchBaseTypeException, + self.assertRaises(exception.KollaMismatchBaseTypeException, build.KollaWorker, self.conf) def test_build_image_list_adds_plugins(self): |
