mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-24 04:35:17 +00:00
undo incorrect merge
This commit is contained in:
parent
68036dd773
commit
19e16243d7
@ -532,14 +532,13 @@ class CLI(CLITestMixin, unittest.TestCase):
|
||||
# it's safe to drop it on the floor.
|
||||
del d
|
||||
|
||||
patcher = MonkeyPatcher(
|
||||
(runner, 'parse_or_exit_with_explanation', call_parse_or_exit),
|
||||
(runner, "_setup_coverage", lambda r: None),
|
||||
(sys, 'argv', ["tahoe"]),
|
||||
(sys, 'exit', call_sys_exit),
|
||||
(sys, 'stderr', stderr),
|
||||
(task, 'react', fake_react),
|
||||
)
|
||||
patcher = MonkeyPatcher((runner, 'parse_or_exit_with_explanation',
|
||||
call_parse_or_exit),
|
||||
(sys, 'argv', ["tahoe"]),
|
||||
(sys, 'exit', call_sys_exit),
|
||||
(sys, 'stderr', stderr),
|
||||
(task, 'react', fake_react),
|
||||
)
|
||||
patcher.runWithPatches(runner.run)
|
||||
|
||||
self.failUnless(ns.parse_called)
|
||||
|
Loading…
x
Reference in New Issue
Block a user