X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=snaps%2Fconfig%2Ftests%2Fcluster_template_tests.py;h=e06b783f06bd1442d1eacd5b55e092357cc0b36e;hb=530ca566f0554d69ac11dd3b919be25c2e689ed6;hp=5c695b9cee8728b202c9f59deeef62438e66b549;hpb=0e06ebe62fcff9b491a0edd89bdf511f88d091e7;p=snaps.git diff --git a/snaps/config/tests/cluster_template_tests.py b/snaps/config/tests/cluster_template_tests.py index 5c695b9..e06b783 100644 --- a/snaps/config/tests/cluster_template_tests.py +++ b/snaps/config/tests/cluster_template_tests.py @@ -14,9 +14,9 @@ # limitations under the License. import unittest -from snaps.config.cluster_template import ClusterTemplateConfig, \ - ClusterTypeConfigError, ServerType, DockerStorageDriver, \ - ContainerOrchestrationEngine +from snaps.config.cluster_template import ( + ClusterTemplateConfig, ClusterTemplateConfigError, ServerType, + DockerStorageDriver, ContainerOrchestrationEngine) class ClusterTemplateConfigUnitTests(unittest.TestCase): @@ -25,15 +25,15 @@ class ClusterTemplateConfigUnitTests(unittest.TestCase): """ def test_no_params(self): - with self.assertRaises(ClusterTypeConfigError): + with self.assertRaises(ClusterTemplateConfigError): ClusterTemplateConfig() def test_empty_config(self): - with self.assertRaises(ClusterTypeConfigError): + with self.assertRaises(ClusterTemplateConfigError): ClusterTemplateConfig(config=dict()) def test_name_only(self): - with self.assertRaises(ClusterTypeConfigError): + with self.assertRaises(ClusterTemplateConfigError): ClusterTemplateConfig(name='foo') def test_minimal_named(self):