diff options
| author | Aurélien Bompard | 2016-10-27 10:25:45 +0200 |
|---|---|---|
| committer | Barry Warsaw | 2016-10-31 17:52:37 -0400 |
| commit | added3672526d4770c6b9da8883effc46a0a41da (patch) | |
| tree | b227f873dcf831b8f415f5787510d3c71d048299 /src/mailman/runners/tests | |
| parent | 20bda7007c6c8546ab403d65e8bf9e0bdfe4ad50 (diff) | |
| download | mailman-added3672526d4770c6b9da8883effc46a0a41da.tar.gz mailman-added3672526d4770c6b9da8883effc46a0a41da.tar.zst mailman-added3672526d4770c6b9da8883effc46a0a41da.zip | |
Implment review suggestions
Diffstat (limited to 'src/mailman/runners/tests')
| -rw-r--r-- | src/mailman/runners/tests/test_digest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/runners/tests/test_digest.py b/src/mailman/runners/tests/test_digest.py index f0993cff3..1565af262 100644 --- a/src/mailman/runners/tests/test_digest.py +++ b/src/mailman/runners/tests/test_digest.py @@ -75,9 +75,9 @@ class TestDigest(unittest.TestCase): bart.preferences.delivery_mode = DeliveryMode.plaintext_digests make_digest_messages(self._mlist) self._check_virgin_queue() - # The digest mbox must have been removed (GL#259) - self.assertFalse(os.path.exists( - os.path.join(self._mlist.data_path, 'digest.mmdf'))) + # The digest mbox and all intermediary mboxes must have been removed + # (GL#259). + self.assertEqual(os.listdir(self._mlist.data_path), []) def test_non_ascii_message(self): # Subscribe some users receiving digests. |
