~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ftp_transport.py

  • Committer: Vincent Ladeuil
  • Date: 2007-10-21 10:49:22 UTC
  • mto: (2961.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2962.
  • Revision ID: v.ladeuil+lp@free.fr-20071021104922-lc4hyrz0g06sj5u9
More tests.

* bzrlib/tests/test_config.py:
(TestAuthenticationConfig): Add tests for default prompts.

* bzrlib/config.py:
(AuthenticationConfig.get_password): Oops, remove debug statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
 
123
123
        # Create a config file with the right password
124
124
        conf = config.AuthenticationConfig()
125
 
        conf._get_config().update({'ftptest': {'scheme': 'ftp', 'user': t._user,
 
125
        conf._get_config().update({'ftptest': {'scheme': 'ftp',
 
126
                                               'user': t._user,
126
127
                                               'password': password}})
127
128
        conf._save()
128
129
        # Issue a request to the server to connect