Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Dec 20, 2021
1 parent 2c7fd24 commit 98da27d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_4taskrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,7 @@ def test_runtime_privileged(self):
self._test_task(txt, {"privileged": True}, expected_exception=WDL.runtime.CommandFailed)
cfg = WDL.runtime.config.Loader(logging.getLogger(self.id()), [])
cfg.override({"task_runtime": {"allow_privileged": True}})
self._test_task(txt, {"privileged": False}, cfg=cfg, expected_exception=WDL.runtime.CommandFailed)
self._test_task(txt, {"privileged": True}, cfg=cfg)


Expand Down

0 comments on commit 98da27d

Please sign in to comment.