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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-07-28 02:47:10 UTC
  • mfrom: (7519.1.1 merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200728024710-a2ylds219f1lsl62
Merge lp:brz/3.1.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/388173

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Tests for handling of ignore files"""
18
18
 
 
19
from io import BytesIO
19
20
import os
20
21
 
21
22
from .. import (
22
23
    bedding,
23
24
    ignores,
24
25
    )
25
 
from ..sixish import (
26
 
    BytesIO,
27
 
    )
28
26
from . import (
29
27
    TestCase,
30
28
    TestCaseInTempDir,
94
92
        self.assertPathDoesNotExist(ignore_path)
95
93
        os.mkdir('empty-home')
96
94
 
97
 
        config_path = os.path.join(self.test_dir, 'empty-home', '.config')
 
95
        config_path = os.path.join(
 
96
            self.test_dir, 'empty-home', 'foo', '.config')
98
97
        self.overrideEnv('BRZ_HOME', config_path)
99
98
        self.assertPathDoesNotExist(config_path)
100
99