summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/tests/test_modules.py
diff options
context:
space:
mode:
authorJ08nY2017-07-04 21:18:23 +0200
committerJ08nY2017-08-30 13:11:24 +0200
commitc1060c9dfec4776ab6d714bea6e678a7d708396e (patch)
treea420ab0efafc91b1ede10dc33e64b5514fe3a97e /src/mailman/utilities/tests/test_modules.py
parent057bc0704ab6d975e327c11cac204decfb478c4d (diff)
downloadmailman-modules-no-instantiate.tar.gz
mailman-modules-no-instantiate.tar.zst
mailman-modules-no-instantiate.zip
Diffstat (limited to 'src/mailman/utilities/tests/test_modules.py')
-rw-r--r--src/mailman/utilities/tests/test_modules.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/utilities/tests/test_modules.py b/src/mailman/utilities/tests/test_modules.py
index 5ea2e5d23..1ef267164 100644
--- a/src/mailman/utilities/tests/test_modules.py
+++ b/src/mailman/utilities/tests/test_modules.py
@@ -105,8 +105,8 @@ class BadStyle:
in find_components('mypackage', IStyle)]
self.assertEqual(names, ['good-style'])
- def test_find_components_no_instantiate(self):
- # find_components() now instantiates the class unless it's been
+ def test_find_components_abstract_component(self):
+ # find_components() finds the class unless it's been
# decorated with the @abstract_component decorator.
with ExitStack() as resources:
# Creating a temporary directory and adding it to sys.path.