1 parent
dc874d98ac
commit
7ed1f4cb9e
1 file changed
+1
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user