diff options
| author | Barry Warsaw | 2016-01-24 23:00:42 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2016-01-25 15:08:43 -0500 |
| commit | 6c3df8293effb241c58a1c58aa53af29105501ad (patch) | |
| tree | ab03dcbb3bb441134cb3fd09ffde52968d601885 /src/mailman/app/tests/test_workflow.py | |
| parent | af5df60a98d6264ce0f328f29a00449eb833bded (diff) | |
| download | mailman-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.py | 8 |
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']) |
