def test_mp_hostname(self, current_process, set_process_title): current_process().name = 'Foo' set_mp_process_title('foo', hostname='*****@*****.**', info='hello') set_process_title.assert_called_with('foo: [email protected]:Foo', info='hello')
def test_mp_hostname(self, current_process, set_process_title): current_process().name = "Foo" set_mp_process_title("foo", hostname="*****@*****.**", info="hello") set_process_title.assert_called_with("foo: [email protected]:Foo", info="hello")