/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Martin Pool
  • Date: 2007-08-21 03:40:50 UTC
  • mfrom: (2736 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2737.
  • Revision ID: mbp@sourcefrog.net-20070821034050-gcppw53kbcm2gwgd
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1202
1202
        mutter(*args)
1203
1203
 
1204
1204
    def _get_log(self, keep_log_file=False):
1205
 
        """Return as a string the log for this test. If the file is still
1206
 
        on disk and keep_log_file=False, delete the log file and store the
1207
 
        content in self._log_contents."""
 
1205
        """Get the log from bzrlib.trace calls from this test.
 
1206
 
 
1207
        :param keep_log_file: When True, if the log is still a file on disk
 
1208
            leave it as a file on disk. When False, if the log is still a file
 
1209
            on disk, the log file is deleted and the log preserved as
 
1210
            self._log_contents.
 
1211
        :return: A string containing the log.
 
1212
        """
1208
1213
        # flush the log file, to get all content
1209
1214
        import bzrlib.trace
1210
1215
        bzrlib.trace._trace_file.flush()
2341
2346
                   'bzrlib.tests.test_lockable_files',
2342
2347
                   'bzrlib.tests.test_log',
2343
2348
                   'bzrlib.tests.test_lsprof',
 
2349
                   'bzrlib.tests.test_mail_client',
2344
2350
                   'bzrlib.tests.test_memorytree',
2345
2351
                   'bzrlib.tests.test_merge',
2346
2352
                   'bzrlib.tests.test_merge3',