82
83
"""Overrides get_url to inject our user."""
83
84
base = super(TestFTPTestServerUI, self).get_url(relpath)
84
85
parsed_url = transport.ConnectedTransport._split_url(base)
86
parsed_url.scheme, self.user, self.password, parsed_url.host,
90
93
def test_no_prompt_for_username(self):
91
94
"""ensure getpass.getuser() is used if there's no username in the