Commit c96c3ffb authored by Jason R. Coombs's avatar Jason R. Coombs

Expand test to cover string rendering of SandboxViolation

parent d6959fca
......@@ -126,3 +126,7 @@ class TestExceptionSaver:
assert cmd == 'open'
assert args == ('/etc/foo', 'w')
assert kwargs == {}
msg = str(caught.value)
assert 'open' in msg
assert "('/etc/foo', 'w')" in msg
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment