summaryrefslogtreecommitdiff
path: root/src/mailman/model/tests/test_bounce.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-03-25 11:01:46 -0400
committerBarry Warsaw2016-03-25 11:01:46 -0400
commit7fd9e5ab09b0da347da0607b47d2d3838bd80f0c (patch)
treeb150f85e5fc482f45e973a233b5184d3ca4b78a7 /src/mailman/model/tests/test_bounce.py
parent71ebe367a52316811f570d09f2213c192a47973f (diff)
downloadmailman-7fd9e5ab09b0da347da0607b47d2d3838bd80f0c.tar.gz
mailman-7fd9e5ab09b0da347da0607b47d2d3838bd80f0c.tar.zst
mailman-7fd9e5ab09b0da347da0607b47d2d3838bd80f0c.zip
Diffstat (limited to 'src/mailman/model/tests/test_bounce.py')
-rw-r--r--src/mailman/model/tests/test_bounce.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mailman/model/tests/test_bounce.py b/src/mailman/model/tests/test_bounce.py
index d2fd27172..14f39ceaf 100644
--- a/src/mailman/model/tests/test_bounce.py
+++ b/src/mailman/model/tests/test_bounce.py
@@ -17,11 +17,6 @@
"""Test bounce model objects."""
-__all__ = [
- 'TestBounceEvents',
- ]
-
-
import unittest
from datetime import datetime
@@ -34,7 +29,6 @@ from mailman.testing.layers import ConfigLayer
from zope.component import getUtility
-
class TestBounceEvents(unittest.TestCase):
layer = ConfigLayer
@@ -70,7 +64,7 @@ Message-Id: <first>
self.assertEqual(event.timestamp, datetime(2005, 8, 1, 7, 49, 23))
self.assertEqual(event.message_id, '<first>')
self.assertEqual(event.context, BounceContext.normal)
- self.assertEqual(event.processed, False)
+ self.assertFalse(event.processed)
def test_unprocessed_events_iterator(self):
with transaction():