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

  • Committer: Jelmer Vernooij
  • Date: 2019-06-03 03:10:29 UTC
  • mfrom: (7312 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190603031029-b34je03bjulxxdwj
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    trace,
27
27
)
28
28
from .. import tests
29
 
from ..transport.http import _urllib2_wrappers
30
 
from ..transport.http._urllib2_wrappers import ssl
 
29
from ..transport.http import ssl, opt_ssl_ca_certs
31
30
 
32
31
 
33
32
class CaCertsConfigTests(tests.TestCaseInTempDir):
49
48
    def test_specified_doesnt_exist(self):
50
49
        stack = self.get_stack('')
51
50
        # Disable the default value mechanism to force the behavior we want
52
 
        self.overrideAttr(_urllib2_wrappers.opt_ssl_ca_certs, 'default',
 
51
        self.overrideAttr(opt_ssl_ca_certs, 'default',
53
52
                          os.path.join(self.test_dir, u"nonexisting.pem"))
54
53
        self.warnings = []
55
54