diff --git a/tests/test_daemon.py b/tests/test_daemon.py index 8917cf47..60b1747a 100644 --- a/tests/test_daemon.py +++ b/tests/test_daemon.py @@ -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")