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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import os
20
20
import sys
21
21
 
22
 
from breezy.tests import (
 
22
from . import (
23
23
    TestCaseInTempDir,
24
24
    TestSkipped,
25
25
    )
26
 
from breezy.transport.http import ca_bundle
 
26
from ..transport.http import ca_bundle
27
27
 
28
28
 
29
29
class TestGetCAPath(TestCaseInTempDir):
51
51
        if sys.platform != 'win32':
52
52
            raise TestSkipped('Searching in PATH implemented only for win32')
53
53
        os.mkdir('foo')
54
 
        in_dir = os.path.join(os.getcwd(), 'foo')
 
54
        in_dir = os.path.join(self.test_dir, 'foo')
55
55
        self._make_file(in_dir=in_dir)
56
56
        self.overrideEnv('PATH', in_dir)
57
57
        shouldbe = os.path.join(in_dir, 'curl-ca-bundle.crt')