~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ftp_transport.py

  • Committer: Martin Pool
  • Date: 2009-07-22 07:48:27 UTC
  • mto: This revision was merged to the branch mainline in revision 4558.
  • Revision ID: mbp@sourcefrog.net-20090722074827-owharkxz008ou1nx
Typo correction

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        self.password = ''
125
125
        self.get_server().add_user(self.user, self.password)
126
126
        t = self.get_transport()
127
 
        ui.ui_factory = ui.CannedInputUIFactory([password])
 
127
        ui.ui_factory = ui.CannedInputUIFactory([self.password])
128
128
        # Issue a request to the server to connect
129
129
        t.has('whatever/not/existing')
130
130
        # stdin should be empty (the provided password have been consumed),