|
@@ -24,8 +24,8 @@ if not IS_WINDOWS:
|
|
|
|
|
|
detach('/bin/boo', ['a', 'b', 'c'], logfile='/var/log',
|
|
detach('/bin/boo', ['a', 'b', 'c'], logfile='/var/log',
|
|
pidfile='/var/pid')
|
|
pidfile='/var/pid')
|
|
- detached.assert_called_with('/var/log', '/var/pid', None, None, 0,
|
|
|
|
- None, False)
|
|
|
|
|
|
+ detached.assert_called_with('/var/log', '/var/pid', None, None,
|
|
|
|
+ None, None, False)
|
|
execv.assert_called_with('/bin/boo', ['/bin/boo', 'a', 'b', 'c'])
|
|
execv.assert_called_with('/bin/boo', ['/bin/boo', 'a', 'b', 'c'])
|
|
|
|
|
|
execv.side_effect = Exception('foo')
|
|
execv.side_effect = Exception('foo')
|
|
@@ -84,7 +84,7 @@ class test_Command(AppCase):
|
|
self.assertTrue(exit.called)
|
|
self.assertTrue(exit.called)
|
|
detach.assert_called_with(
|
|
detach.assert_called_with(
|
|
path=x.execv_path, uid=None, gid=None,
|
|
path=x.execv_path, uid=None, gid=None,
|
|
- umask=0, fake=False, logfile='/var/log', pidfile='celeryd.pid',
|
|
|
|
|
|
+ umask=None, fake=False, logfile='/var/log', pidfile='celeryd.pid',
|
|
working_directory=None,
|
|
working_directory=None,
|
|
argv=x.execv_argv + [
|
|
argv=x.execv_argv + [
|
|
'-c', '1', '-lDEBUG',
|
|
'-c', '1', '-lDEBUG',
|