MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / test_notify_invalid_socket_path

Function test_notify_invalid_socket_path

tests/client/test_sdnotify.py:9–11  ·  view source on GitHub ↗
(mock_get)

Source from the content-addressed store, hash-verified

7
8@patch('sshuttle.sdnotify.os.environ.get')
9def 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')

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected