summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oslo_middleware/tests/test_entry_points.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/oslo_middleware/tests/test_entry_points.py b/oslo_middleware/tests/test_entry_points.py
index b39678b..d7368ac 100644
--- a/oslo_middleware/tests/test_entry_points.py
+++ b/oslo_middleware/tests/test_entry_points.py
@@ -14,8 +14,6 @@ from oslotest import base
import stevedore
from testtools import matchers
-import oslo_middleware
-
class TestPasteDeploymentEntryPoints(base.BaseTestCase):
@@ -38,10 +36,3 @@ class TestPasteDeploymentEntryPoints(base.BaseTestCase):
factory_names = [extension.name for extension in em]
self.assertThat(factory_names,
matchers.ContainsAll(factory_classes))
-
- # Ensure that we can create instances of the filter factories
- for factory_name, class_name in factory_classes.items():
- e = [m for m in em if m.name == factory_name][0]
- factory = getattr(oslo_middleware, factory_name)
- factory_class = getattr(factory, class_name).factory
- self.assertEqual(factory_class, e.plugin)