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

Method test_debug_opt

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

Source from the content-addressed store, hash-verified

135 main(["-r", "yyy-zzz"])
136
137 def test_debug_opt(self):
138 main(["-D", "-p", "0"])
139 main(["--debug", "-p", "0"])
140 # with arg
141 with pytest.raises(SystemExit):
142 main(["-D", "xxx"])
143
144 def test_username_and_password_opt(self):
145 ftpd = main(["--username", "foo", "--password", "bar", "-p", "0"])

Callers

nothing calls this directly

Calls 1

mainFunction · 0.90

Tested by

no test coverage detected