summaryrefslogtreecommitdiff
path: root/src/mailman/app/tests/test_workflow.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-01-24 23:00:42 -0500
committerBarry Warsaw2016-01-25 15:08:43 -0500
commit6c3df8293effb241c58a1c58aa53af29105501ad (patch)
treeab03dcbb3bb441134cb3fd09ffde52968d601885 /src/mailman/app/tests/test_workflow.py
parentaf5df60a98d6264ce0f328f29a00449eb833bded (diff)
downloadmailman-6c3df8293effb241c58a1c58aa53af29105501ad.tar.gz
mailman-6c3df8293effb241c58a1c58aa53af29105501ad.tar.zst
mailman-6c3df8293effb241c58a1c58aa53af29105501ad.zip
Diffstat (limited to 'src/mailman/app/tests/test_workflow.py')
-rw-r--r--src/mailman/app/tests/test_workflow.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mailman/app/tests/test_workflow.py b/src/mailman/app/tests/test_workflow.py
index 99fc47c53..0d0ebc9fc 100644
--- a/src/mailman/app/tests/test_workflow.py
+++ b/src/mailman/app/tests/test_workflow.py
@@ -122,7 +122,15 @@ class TestWorkflow(unittest.TestCase):
results = self._workflow.run_thru('second')
self.assertEqual(results, ['one', 'two'])
+ def test_run_thru_completes(self):
+ results = self._workflow.run_thru('all of them')
+ self.assertEqual(results, ['one', 'two', 'three'])
+
def test_run_until(self):
# Run until (but not including) the given step.
results = self._workflow.run_until('second')
self.assertEqual(results, ['one'])
+
+ def test_run_until_completes(self):
+ results = self._workflow.run_until('all of them')
+ self.assertEqual(results, ['one', 'two', 'three'])