/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/test_selftest.py

  • Committer: Martin Pool
  • Date: 2009-07-20 04:22:47 UTC
  • mto: This revision was merged to the branch mainline in revision 4551.
  • Revision ID: mbp@sourcefrog.net-20090720042247-8ayxem3zn4r012ta
More selftest display test tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
944
944
        result.report_unsupported(test, feature)
945
945
        output = result_stream.getvalue()[prefix:]
946
946
        lines = output.splitlines()
947
 
        self.assertEqual(lines, ['NODEP                   0ms',
 
947
        self.assertEqual(lines, ['NODEP        0ms',
948
948
                                 "    The feature 'Feature' is not available."])
949
949
 
950
950
    def test_text_report_unsupported(self):
1491
1491
        sample_test.run(result)
1492
1492
        self.assertContainsRe(
1493
1493
            output_stream.getvalue(),
1494
 
            r"\d+ms/ +\d+ms\n$")
 
1494
            r"\d+ms\*\n$")
1495
1495
 
1496
1496
    def test_hooks_sanitised(self):
1497
1497
        """The bzrlib hooks should be sanitised by setUp."""