~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

merge http redirection fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
import bzrlib.transport
43
43
 
44
44
 
45
 
def _append(fn, txt):
46
 
    """Append the given text (file-like object) to the supplied filename."""
47
 
    f = open(fn, 'ab')
48
 
    try:
49
 
        f.write(txt.read())
50
 
    finally:
51
 
        f.close()
52
 
 
53
 
 
54
45
class TransportTests(TestTransportImplementation):
55
46
 
56
47
    def check_transport_contents(self, content, transport, relpath):