Fixed TestHTTPSVerifyCert failure messages

Due to the change in python versions greater then 2.7.8, messages
that SSL certificate handling module is producing are different
from the error messages produced in earlier versions of py27.

Fixed how the following test cases of TestHTTPSVerifyCert class
are handling erroneous SSL certification messages:

- test_v2_requests_valid_cert_no_key
- test_v2_requests_bad_cert
- test_v2_requests_bad_ca

Closes-Bug:1499355
Change-Id: I3b939292ba0042bced5cc91a26e2593450f9cafe
This commit is contained in:
David Sariel
2016-01-15 11:56:19 +02:00
parent 0b7a6d2379
commit f2eab45c33
2 changed files with 14 additions and 5 deletions