testing/py3-wsgiprox test fail with test/test_wsgiprox.py::Test_gevent_WSGIProx::test_download_pkcs12[http]
when i run abuild -r, py3-wsgiprox test fail. fail log as follow:
self = <test.test_wsgiprox.Test_gevent_WSGIProx object at 0x7f72e5cde840>, scheme = 'http'
def test_download_pkcs12(self, scheme):
res = self.sesh.get('{0}://wsgiprox/download/p12'.format(scheme),
proxies=self.proxies,
verify=self.root_ca_file)
> assert res.headers['content-type'] == 'application/x-pkcs12'
E AssertionError: assert 'text/plain' == 'application/x-pkcs12'
E
E - application/x-pkcs12
E + text/plain
test/test_wsgiprox.py:216: AssertionError
Edited by Wenlong Zhang