From f6a525ed85fa31d05c1450e936a2dd3d20a77be6 Mon Sep 17 00:00:00 2001 From: lijing Date: Fri, 11 Nov 2016 17:57:10 +0800 Subject: Extract kolla exceptions into a single exception.py file Change-Id: I03388360b6ac735d5a6f380a7956cd91ab449131 --- kolla/tests/test_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kolla/tests') 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): -- cgit v1.2.3