~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/ftp_server.py

  • Committer: Vincent Ladeuil
  • Date: 2007-11-25 14:34:44 UTC
  • mto: (3024.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3025.
  • Revision ID: v.ladeuil+lp@free.fr-20071125143444-krzhbakbps9f5tkl
Reproduce bug 164567.

* ftp_server.py:
(FTPServer.get_bogus_url): Uncommented.

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
        """Calculate an ftp url to this server."""
192
192
        return 'ftp://foo:bar@localhost:%d/' % (self._port)
193
193
 
194
 
#    def get_bogus_url(self):
195
 
#        """Return a URL which cannot be connected to."""
196
 
#        return 'ftp://127.0.0.1:1'
 
194
    def get_bogus_url(self):
 
195
        """Return a URL which cannot be connected to."""
 
196
        return 'ftp://127.0.0.1:1'
197
197
 
198
198
    def log(self, message):
199
199
        """This is used by medusa.ftp_server to log connections, etc."""