1569
1569
self.server.add_user('joe', 'foo')
1570
1570
t = self.get_user_transport(None, None)
1571
1571
stdout = tests.StringIOWrapper()
1575
1573
self.assertEqual('contents of a\n',t.get('a').read())
1577
1575
self.assertEqual('', ui.ui_factory.stdin.readline())
1579
1577
expected_prompt = self._expected_username_prompt(t._unqualified_scheme)
1582
1579
self._check_password_prompt(t._unqualified_scheme, 'joe',
1585
1582
def test_prompt_for_password(self):
1586
1583
if self._testing_pycurl():