~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_serve.py

  • Committer: Patch Queue Manager
  • Date: 2012-03-30 01:33:38 UTC
  • mfrom: (6511.2.2 fix-serve-test)
  • Revision ID: pqm@pqm.ubuntu.com-20120330013338-d3vspfdtj6dvnc0c
(jelmer) Consistently use 127.0.0.1 for setting up a blackbox server and
 connecting to it. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
        t = self.get_transport()
355
355
        t.mkdir('server-root')
356
356
        self.run_bzr_serve_then_func(
357
 
            ['--listen', 'localhost', '--port', '0',
 
357
            ['--listen', '127.0.0.1', '--port', '0',
358
358
             '--directory', t.local_abspath('server-root'),
359
359
             '--allow-writes'],
360
360
            func=self.when_server_started)