(mock_get)
| 13 | |
| 14 | @patch('sshuttle.sdnotify.os.environ.get') |
| 15 | def test_notify_socket_not_there(mock_get): |
| 16 | mock_get.return_value = '/run/valid_nonexistent_path' |
| 17 | assert not sshuttle.sdnotify.send(sshuttle.sdnotify.ready()) |
| 18 | |
| 19 | |
| 20 | @patch('sshuttle.sdnotify.os.environ.get') |