Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Nov 2, 2020
1 parent 59cb09c commit 9b8fade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_8cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def test_directory_coherence(self):
inp = {"d": os.path.join(self._dir, "d")}
outp = self._run(wdl, inp, cfg=self.cfg)

WDL.Value.rewrite_env_files(outp, lambda fn: fn) # game coverage of deprecated fn
WDL.Value.rewrite_env_files(outp[1], lambda fn: fn) # game coverage of deprecated fn

mock = MagicMock(side_effect=WDL.runtime.task._try_task)
with patch('WDL.runtime.task._try_task', mock):
Expand Down

0 comments on commit 9b8fade

Please sign in to comment.