From e65f5e7bbb34063e252ffecd13fc349c5cb69a24 Mon Sep 17 00:00:00 2001 From: J08nY Date: Sun, 4 Jun 2017 17:41:29 +0200 Subject: Add description attribute to IStyle, expose it in REST. --- src/mailman/styles/tests/test_styles.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mailman/styles/tests') 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.""" -- cgit v1.2.3-70-g09d2