MCPcopy
hub / github.com/giampaolo/pyftpdlib / test_banner

Method test_banner

tests/test_cli.py:159–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

157 assert ftpd.handler.timeout == 10
158
159 def test_banner(self):
160 ftpd = main(["--banner", "hello there"])
161 assert ftpd.handler.banner == "hello there"
162
163 def test_permit_foreign_addresses(self):
164 ftpd = main(["--permit-foreign-addresses"])

Callers

nothing calls this directly

Calls 1

mainFunction · 0.90

Tested by

no test coverage detected