diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2016-02-15 18:43:06 +0100 |
|---|---|---|
| committer | Maximilian Hils <git@maximilianhils.com> | 2016-02-15 18:43:06 +0100 |
| commit | fc9fa87827d64c770d329b24151f3ef354054d74 (patch) | |
| tree | c0f32f41aa54ce66509853abe99201838eb6500a /test/pathod | |
| parent | b7af84552385fa6daf5f594ffa981f8647f7e755 (diff) | |
| download | mitmproxy-fc9fa87827d64c770d329b24151f3ef354054d74.tar.gz mitmproxy-fc9fa87827d64c770d329b24151f3ef354054d74.tar.bz2 mitmproxy-fc9fa87827d64c770d329b24151f3ef354054d74.zip | |
fix ALPN checks
Diffstat (limited to 'test/pathod')
| -rw-r--r-- | test/pathod/test_pathoc.py | 2 | ||||
| -rw-r--r-- | test/pathod/test_pathod.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/pathod/test_pathoc.py b/test/pathod/test_pathoc.py index 62696a64..e1d32f79 100644 --- a/test/pathod/test_pathoc.py +++ b/test/pathod/test_pathoc.py @@ -263,7 +263,7 @@ class TestDaemon(_TestDaemon): class TestDaemonHTTP2(_TestDaemon): ssl = True - if OpenSSL._util.lib.Cryptography_HAS_ALPN: + if tcp.HAS_ALPN: def test_http2(self): c = pathoc.Pathoc( diff --git a/test/pathod/test_pathod.py b/test/pathod/test_pathod.py index 98da7d28..ee5fc7bd 100644 --- a/test/pathod/test_pathod.py +++ b/test/pathod/test_pathod.py @@ -282,7 +282,7 @@ class TestHTTP2(tutils.DaemonTests): noapi = True nohang = True - if OpenSSL._util.lib.Cryptography_HAS_ALPN: + if tcp.HAS_ALPN: def test_http2(self): r, _ = self.pathoc(["GET:/"], ssl=True, use_http2=True) |
