(self, task_join_will_block)
| 983 | |
| 984 | @patch('celery.result.task_join_will_block') |
| 985 | def test_get_sync_subtask_option(self, task_join_will_block): |
| 986 | task_join_will_block.return_value = True |
| 987 | tid = uuid() |
| 988 | res_subtask_async = EagerResult(tid, 'x', 'x', states.SUCCESS) |
| 989 | with pytest.raises(RuntimeError): |
| 990 | res_subtask_async.get() |
| 991 | res_subtask_async.get(disable_sync_subtasks=False) |
| 992 | |
| 993 | def test_populate_name(self): |
| 994 | res = EagerResult('x', 'x', states.SUCCESS, None, 'test_task') |
nothing calls this directly
no test coverage detected