(mock_get)
| 7 | |
| 8 | @patch('sshuttle.sdnotify.os.environ.get') |
| 9 | def test_notify_invalid_socket_path(mock_get): |
| 10 | mock_get.return_value = 'invalid_path' |
| 11 | assert not sshuttle.sdnotify.send(sshuttle.sdnotify.ready()) |
| 12 | |
| 13 | |
| 14 | @patch('sshuttle.sdnotify.os.environ.get') |