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

MergeĀ lp:bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    config,
27
27
    crash,
28
28
    osutils,
 
29
    plugin,
29
30
    tests,
30
31
    )
31
32
 
42
43
        self.overrideEnv('APPORT_CRASH_DIR', crash_dir)
43
44
        self.assertEquals(crash_dir, config.crash_dir())
44
45
 
 
46
        self.overrideAttr(
 
47
            plugin,
 
48
            'plugin_warnings',
 
49
            {'example': ['Failed to load plugin foo']})
 
50
 
45
51
        stderr = StringIO()
46
52
 
47
53
        try:
71
77
        self.assertContainsRe(report, 'test_apport_report')
72
78
        # should also be in there
73
79
        self.assertContainsRe(report, '(?m)^CommandLine:')
 
80
        self.assertContainsRe(
 
81
            report,
 
82
            'Failed to load plugin foo')