parent
dc874d98ac
commit
7ed1f4cb9e
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class DaemonTest(unittest.TestCase):
|
|||
self.assertListEqual(mock_exit.mock_calls, [mock.call(0), mock.call(0)])
|
||||
mock_chdir.assert_called_once_with("/")
|
||||
mock_setsid.assert_called_once_with()
|
||||
mock_umask.assert_called_once_with(002)
|
||||
mock_umask.assert_called_once_with(0o002)
|
||||
|
||||
@mock.patch("os.fork", create=True)
|
||||
@mock.patch("sys.exit")
|
||||
|
|
|
|||
Loading…
Reference in a new issue