summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/utils/tests/magnum_utils_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'snaps/openstack/utils/tests/magnum_utils_tests.py')
-rw-r--r--snaps/openstack/utils/tests/magnum_utils_tests.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/snaps/openstack/utils/tests/magnum_utils_tests.py b/snaps/openstack/utils/tests/magnum_utils_tests.py
index 766e3f2..f841c48 100644
--- a/snaps/openstack/utils/tests/magnum_utils_tests.py
+++ b/snaps/openstack/utils/tests/magnum_utils_tests.py
@@ -15,7 +15,7 @@
import logging
import uuid
-from magnumclient.common.apiclient.exceptions import BadRequest, NotFound
+from magnumclient.common.apiclient.exceptions import BadRequest
from snaps.config.cluster_template import (
ClusterTemplateConfig, ServerType, ContainerOrchestrationEngine,
@@ -194,18 +194,6 @@ class MagnumUtilsClusterTypeTests(OSComponentTestCase):
self.cluster_template = magnum_utils.create_cluster_template(
self.magnum, config)
- def test_create_cluster_template_bad_kp(self):
- config = ClusterTemplateConfig(
- name=self.cluster_type_name,
- image=self.image_creator.image_settings.name,
- keypair='foo',
- external_net=self.ext_net_name,
- flavor=self.flavor_creator.flavor_settings.name)
-
- with self.assertRaises(NotFound):
- self.cluster_template = magnum_utils.create_cluster_template(
- self.magnum, config)
-
def test_create_cluster_template_bad_ext_net(self):
config = ClusterTemplateConfig(
name=self.cluster_type_name,