diff options
Diffstat (limited to 'systemd/test')
-rw-r--r-- | systemd/test/test_daemon.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/test/test_daemon.py b/systemd/test/test_daemon.py index ea680a1..ac782f9 100644 --- a/systemd/test/test_daemon.py +++ b/systemd/test/test_daemon.py @@ -297,6 +297,8 @@ def test_listen_fds_with_names_multiple(): assert listen_fds_with_names() == {} def test_notify_no_socket(): + os.environ.pop('NOTIFY_SOCKET', None) + assert notify('READY=1') is False with skip_enosys(): assert notify('FDSTORE=1', fds=[]) is False |