Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sshuttle/sshuttle
/ test_notify_no_message
Function
test_notify_no_message
tests/client/test_sdnotify.py:21–23 ·
view source on GitHub ↗
(mock_get)
Source
from the content-addressed store, hash-verified
19
20
@patch(
'sshuttle.sdnotify.os.environ.get'
)
21
def
test_notify_no_message(mock_get):
22
mock_get.return_value =
'/run/valid_path'
23
assert not sshuttle.sdnotify.send()
24
25
26
@patch(
'sshuttle.sdnotify.socket.socket'
)
Callers
nothing calls this directly
Calls
1
send
Method · 0.45
Tested by
no test coverage detected