diff options
| author | Barry Warsaw | 2015-04-07 15:32:30 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-04-07 15:32:30 -0400 |
| commit | 3a0c1191d8c12a8f4d4e5acb1f167331dfabc7d8 (patch) | |
| tree | bbf03ce44866ea2ba49ae7db30b3a675062a4f08 /src/mailman/app/tests/test_workflow.py | |
| parent | 89f8cd6c2bc7d38c2478d87d81b4b729169b3d80 (diff) | |
| download | mailman-3a0c1191d8c12a8f4d4e5acb1f167331dfabc7d8.tar.gz mailman-3a0c1191d8c12a8f4d4e5acb1f167331dfabc7d8.tar.zst mailman-3a0c1191d8c12a8f4d4e5acb1f167331dfabc7d8.zip | |
Diffstat (limited to 'src/mailman/app/tests/test_workflow.py')
| -rw-r--r-- | src/mailman/app/tests/test_workflow.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mailman/app/tests/test_workflow.py b/src/mailman/app/tests/test_workflow.py index 0f70042af..51beceb86 100644 --- a/src/mailman/app/tests/test_workflow.py +++ b/src/mailman/app/tests/test_workflow.py @@ -119,8 +119,10 @@ class TestWorkflow(unittest.TestCase): def test_run_thru(self): # Run all steps through the given one. - results = self._workflow.run_thru(second) + results = self._workflow.run_thru('second') self.assertEqual(results, ['one', 'two']) def test_run_until(self): - # Run until (but not including + # Run until (but not including) the given step. + results = self._workflow.run_until('second') + self.assertEqual(results, ['one']) |
