Skip to content

Commit

Permalink
Adjust fallback conditions for win2016 @ gh-action
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Nov 28, 2019
1 parent b71bb64 commit 85a190f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cheroot/test/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,15 @@ def test_http_over_https_error(
and IS_WIN2016
and adapter_type == 'builtin'
and ip_addr is ANY_INTERFACE_IPV6
):
expect_fallback_response_over_plain_http = True
if (
IS_GITHUB_ACTIONS_WORKFLOW
and IS_WINDOWS
and six.PY2
and not IS_WIN2016
and adapter_type == 'builtin'
and ip_addr is not ANY_INTERFACE_IPV6
):
expect_fallback_response_over_plain_http = False
if expect_fallback_response_over_plain_http:
Expand Down

0 comments on commit 85a190f

Please sign in to comment.