Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/giampaolo/pyftpdlib
/ test_timeout
Method
test_timeout
tests/test_cli.py:155–157 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
153
assert isinstance(ftpd, DummyThreadedFTPServer)
154
155
def
test_timeout(self):
156
ftpd = main([
"--timeout"
,
"10"
])
157
assert ftpd.handler.timeout == 10
158
159
def
test_banner(self):
160
ftpd = main([
"--banner"
,
"hello there"
])
Callers
nothing calls this directly
Calls
1
main
Function · 0.90
Tested by
no test coverage detected