Skip to content

Commit 6c37dce

Browse files
committed
don't actually monkeypatch when testing Wizard
1 parent 8b7c8b8 commit 6c37dce

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎paths_cli/tests/wizard/test_wizard.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@ def test_do_one_restart(self):
303303
assert len(self.wizard.engines) == 0
304304

305305
def test_run_wizard(self, toy_engine):
306+
# skip patching the wizard; we never actually use the saving
307+
# mechanisms and don't want to unpatch after
308+
self.wizard._patched = True
306309
step = mock.Mock(
307310
func=mock.Mock(return_value=toy_engine),
308311
display_name='Engine',

0 commit comments

Comments
 (0)