Privileged Actions can take option lists again.

This commit is contained in:
Nick Daly committed 2013-11-17 16:01:12 -06:00
1 parent 7f3b1a62c8
commit 0539dfb28a
2 files changed
+12 -14

No files matched your search

+3 -4
View File
@@ -109,11 +109,10 @@ class TestPrivileged(unittest.TestCase):
# counting is safer than actual badness.
options = ["good", ";", "echo $((1+1))"]
with self.assertRaises(ValueError):
output, error = privilegedaction_run(action, options)
output, error = privilegedaction_run(action, options)
# if it somehow doesn't error, we'd better not evaluate the data.
self.assertFalse("2" in output)
# we'd better not evaluate the data.
self.assertFalse("2" in output)
if __name__ == "__main__":
unittest.main()