/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 breezy/tests/test_crash.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
 
18
18
import doctest
19
 
from io import StringIO
20
19
import os
21
20
import sys
22
21
 
23
22
import breezy
24
23
from .. import (
25
 
    bedding,
 
24
    config,
26
25
    crash,
27
26
    osutils,
28
27
    plugin,
29
28
    tests,
30
29
    )
 
30
from ..sixish import (
 
31
    StringIO,
 
32
    )
31
33
from . import features
32
34
 
33
35
 
39
41
        crash_dir = osutils.joinpath((self.test_base_dir, 'crash'))
40
42
        os.mkdir(crash_dir)
41
43
        self.overrideEnv('APPORT_CRASH_DIR', crash_dir)
42
 
        self.assertEqual(crash_dir, bedding.crash_dir())
 
44
        self.assertEqual(crash_dir, config.crash_dir())
43
45
 
44
46
        self.overrideAttr(
45
47
            breezy.get_global_state(),