Skip to content

Commit

Permalink
Merge pull request #901 from mdujava/stable-2.14
Browse files Browse the repository at this point in the history
Update github action version of cache job
  • Loading branch information
mdujava authored Jan 2, 2025
2 parents fde7474 + 7d38bd6 commit fd778da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
echo "weeknum=$(/bin/date -u '+%g.%V')" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.local/share/virtualenvs
Expand Down
6 changes: 3 additions & 3 deletions testsuite/httpx.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(
http2,
app,
endpoint: str = "sandbox_endpoint",
verify: bool = None,
verify: bool = False,
cert=None,
disable_retry_status_list: Iterable = (),
) -> None:
Expand All @@ -115,7 +115,7 @@ def _base_url(self) -> str:

def _ssl_context(self):
"""Create ssl context for httpx"""
return create_ssl_context(cert=self._cert, verify=self._verify, http2=self.http2, trust_env=True)
return create_ssl_context(cert=self._cert, verify=self._verify, trust_env=True)

def extend_connection_pool(self, maxsize: int):
"""
Expand Down Expand Up @@ -222,7 +222,7 @@ def __init__(
disable_retry_status_list: Iterable = (),
):
base_url = app.service.proxy.fetch()[endpoint]
ssl_context = create_ssl_context(cert=cert, verify=verify, http2=http2, trust_env=True)
ssl_context = create_ssl_context(cert=cert, verify=verify, trust_env=True)
super().__init__(base_url=base_url, verify=ssl_context, http2=http2)

self._app = app
Expand Down

0 comments on commit fd778da

Please sign in to comment.