~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testfetch.py

[merge] trace improvements

 - shorter error messages on exceptions

 - shorter display of status and time in selftest output

 - send debug output direct to file to reduce cost of going
   through Python logging

 - always send exception tracebacks to trace file

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
    def log(self, *args):
195
195
        """Capture web server log messages for introspection."""
196
196
        super(TestHttpFetch, self).log(*args)
 
197
        # if this call indicates a url being fetched, save it specially
197
198
        if args[0].startswith("webserver"):
198
 
            self.weblogs.append(args[0])
 
199
            self.weblogs.append(args[3])
199
200
 
200
201
    def test_weaves_are_retrieved_once(self):
201
202
        self.build_tree(("source/", "source/file", "target/"))