~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-19 17:55:07 UTC
  • mto: (2919.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2920.
  • Revision ID: v.ladeuil+lp@free.fr-20071019175507-stlda3b4m45yook0
Review feedback.

* bzrlib/tests/test_ftp_transport.py:
(TestFTPServer.test__reconnect): Use a different pattern after
reconnection.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
        t.put_bytes('foo', 'test bytes\n')
83
83
        self.assertEqual('test bytes\n', t.get_bytes('foo'))
84
84
        t._reconnect()
85
 
        t.put_bytes('foo', 'test bytes\n')
86
 
        self.assertEqual('test bytes\n', t.get_bytes('foo'))
 
85
        t.put_bytes('foo', 'test more bytes\n')
 
86
        self.assertEqual('test more bytes\n', t.get_bytes('foo'))
87
87
 
88
88
 
89
89
class TestFTPServerUI(TestCaseWithFTPServer):