Rev 2918: Reproduce the bug. in file:///v/home/vila/src/bzr/bugs/154259/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Oct 19 11:53:23 BST 2007
At file:///v/home/vila/src/bzr/bugs/154259/
------------------------------------------------------------
revno: 2918
revision-id: v.ladeuil+lp at free.fr-20071019105321-i0rh34oe1jm0ykzj
parent: pqm at pqm.ubuntu.com-20071019042839-xwvsz0loa77yokxm
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 154259
timestamp: Fri 2007-10-19 12:53:21 +0200
message:
Reproduce the bug.
* test_ftp_transport.py:
(TestFTPServer.test__reconnect): New test.
modified:
bzrlib/tests/test_ftp_transport.py test_aftp_transport.-20060823221619-98mwjzxtwtkt527k-1
-------------- next part --------------
=== modified file 'bzrlib/tests/test_ftp_transport.py'
--- a/bzrlib/tests/test_ftp_transport.py 2007-09-05 13:35:38 +0000
+++ b/bzrlib/tests/test_ftp_transport.py 2007-10-19 10:53:21 +0000
@@ -77,6 +77,14 @@
t.put_bytes('foo', 'test bytes\n')
self.assertEqual('test bytes\n', t.get_bytes('foo'))
+ def test__reconnect(self):
+ t = self.get_transport()
+ t.put_bytes('foo', 'test bytes\n')
+ self.assertEqual('test bytes\n', t.get_bytes('foo'))
+ t._reconnect()
+ t.put_bytes('foo', 'test bytes\n')
+ self.assertEqual('test bytes\n', t.get_bytes('foo'))
+
class TestFTPServerUI(TestCaseWithFTPServer):
More information about the bazaar-commits
mailing list