(self, current_process, set_process_title)
| 104 | @patch('celery.platforms.set_process_title') |
| 105 | @patch('celery.platforms.current_process') |
| 106 | def test_mp_hostname(self, current_process, set_process_title): |
| 107 | current_process().name = 'Foo' |
| 108 | set_mp_process_title('foo', hostname='a@q.com', info='hello') |
| 109 | set_process_title.assert_called_with('foo: a@q.com:Foo', info='hello') |
| 110 | |
| 111 | |
| 112 | class test_Signals: |
nothing calls this directly
no test coverage detected