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