summaryrefslogtreecommitdiff
path: root/src/mailman/styles/tests/test_styles.py
diff options
context:
space:
mode:
authorJ08nY2017-06-04 17:41:29 +0200
committerJ08nY2017-08-07 18:03:42 +0200
commite65f5e7bbb34063e252ffecd13fc349c5cb69a24 (patch)
treeb7cb079e8b0bd6c7f5312a38c59d22da68a7eae5 /src/mailman/styles/tests/test_styles.py
parent324226f1f859f6be5e932dc9abe638aba268d154 (diff)
downloadmailman-e65f5e7bbb34063e252ffecd13fc349c5cb69a24.tar.gz
mailman-e65f5e7bbb34063e252ffecd13fc349c5cb69a24.tar.zst
mailman-e65f5e7bbb34063e252ffecd13fc349c5cb69a24.zip
Add description attribute to IStyle, expose it in REST.
Diffstat (limited to '')
-rw-r--r--src/mailman/styles/tests/test_styles.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mailman/styles/tests/test_styles.py b/src/mailman/styles/tests/test_styles.py
index a763082bf..a09967eb6 100644
--- a/src/mailman/styles/tests/test_styles.py
+++ b/src/mailman/styles/tests/test_styles.py
@@ -31,14 +31,11 @@ from zope.interface.exceptions import DoesNotImplement
class DummyStyle:
name = 'dummy'
- priority = 1
+ description = 'A dummy style.'
def apply(self, mlist):
pass
- def match(self, mlist, styles):
- styles.append(self)
-
class TestStyle(unittest.TestCase):
"""Test styles."""