~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/https_server.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-11 15:04:23 UTC
  • mfrom: (5848.1.1 2.4-cython-first)
  • Revision ID: pqm@pqm.ubuntu.com-20110511150423-tpm1ablukqalkvim
(jameinel) Default to using Cython for compiling code,
 rather than Pyrex. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        serving = test_server.TestingTCPServerMixin.verify_request(
50
50
            self, request, client_address)
51
51
        if serving:
52
 
            try:
53
 
                request.do_handshake()
54
 
            except ssl.SSLError, e:
55
 
                # FIXME: We proabaly want more tests to capture which ssl
56
 
                # errors are worth reporting but mostly our tests want an https
57
 
                # server that works -- vila 2012-01-19
58
 
                return False
 
52
            request.do_handshake()
59
53
        return serving
60
54
 
61
55
    def ignored_exceptions_during_shutdown(self, e):