(self)
| 545 | self.assertEqual(['some text', ' and continuation'], observer.data) |
| 546 | |
| 547 | def test_log_with_secure(self): |
| 548 | parameter = create_script_param_config('p1', secure=True) |
| 549 | config = self._create_config(parameters=[parameter]) |
| 550 | |
| 551 | self.create_and_start_executor(config, {'p1': 'a'}) |
| 552 | |
| 553 | self.write_process_output('a| some text') |
| 554 | self.write_process_output('\nand a new line') |
| 555 | self.write_process_output(' with some long long text |a') |
| 556 | |
| 557 | self.finish_process() |
| 558 | |
| 559 | output = self.get_finish_output() |
| 560 | self.assertEqual(output, '******| some text\nand ****** new line with some long long text |******') |
| 561 | |
| 562 | def test_log_with_secure_when_ui_mapping(self): |
| 563 | parameter = create_script_param_config( |
nothing calls this directly
no test coverage detected