1544
1544
self.server.add_user('joe', 'foo')
1545
1545
t = self.get_user_transport(None, None)
1546
1546
stdout = tests.StringIOWrapper()
1548
1550
self.assertEqual('contents of a\n',t.get('a').read())
1550
1552
self.assertEqual('', ui.ui_factory.stdin.readline())
1552
1554
expected_prompt = self._expected_username_prompt(t._unqualified_scheme)
1554
1557
self._check_password_prompt(t._unqualified_scheme, 'joe',
1557
1560
def test_prompt_for_password(self):
1558
1561
if self._testing_pycurl():