Adding sandboxing to action_hooks
Review Request #5710 — Created April 13, 2014 and submitted
Added sandboxing to action_hooks
Added unit tests to test suites at reviewboard/extensions/tests.py
Unit testing done - tested all 5 different action hooks (DiffViewerActionHook, HeaderActionHook, HeaderDropdownActionHook, ReivewRequestActionHook, ReviewRequestDropdownActionHook) with and without the sandboxing
Ran on all tests in extensions/tests.py
Description | From | Last Updated |
---|---|---|
Pleane remove the space at the end of this string. |
david | |
This could be rewrapped a bit. In particular, it would be nice to have "%s.get_actions" together. |
david | |
Do you need to modify this test to instantiate ReviewRequestApprovalTestHook now that you've removed that from SandboxExtension? |
david | |
I think you should remove this and instead instantiate the ReviewRequestApprovalTestHook inside the test_is_approved_sandbox method (like you do for all … |
david |
- Summary:
-
[WIP] Adding sandboxing to action_hooksAdding sandboxing to action_hooks
- Description:
-
Added sandboxing to action_hooks
+ + Added unit tests to test suites at reviewboard/extensions/tests.py
- Testing Done:
-
+ Unit testing done - tested all 5 different action hooks (DiffViewerActionHook, HeaderActionHook, HeaderDropdownActionHook, ReivewRequestActionHook, ReviewRequestDropdownActionHook) with and without the sandboxing