| Total Complexity | 1 |
| Total Lines | 8 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | import mock |
||
| 12 | class FormatResultActionTestCase(BaseActionTestCase): |
||
| 13 | action_cls = FormatResultAction |
||
| 14 | |||
| 15 | @mock.patch.object(FormatResultAction, '_get_execution', mock.MagicMock( |
||
| 16 | return_value=REMOTE_SHELL_CMD_EXECUTION_MODEL)) |
||
| 17 | def test_rendering_works_remote_shell_cmd(self): |
||
| 18 | action = self.get_action_instance() |
||
| 19 | self.assertTrue(action.run(execution_id='57967f9355fc8c19a96d9e4f')) |
||
| 20 |