Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
fix(translate): update test assertion and core version pins (#10098)
Browse files Browse the repository at this point in the history
* Adjust request params assertion in test (timeout)

* Update version pins for core dependencies

Version bumps are needed, as timeouts were introduced to API core.
  • Loading branch information
plamut committed Jan 10, 2020
1 parent 94dda6b commit 74b7757
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -29,8 +29,8 @@
# 'Development Status :: 5 - Production/Stable'
release_status = "Development Status :: 5 - Production/Stable"
dependencies = [
"google-api-core[grpc] >= 1.14.0, < 2.0.0dev",
"google-cloud-core >= 1.0.3, < 2.0dev",
"google-api-core[grpc] >= 1.15.0, < 2.0.0dev",
"google-cloud-core >= 1.1.0, < 2.0dev",
]
extras = {}

Expand Down
6 changes: 5 additions & 1 deletion tests/unit/v2/test__http.py
Expand Up @@ -86,5 +86,9 @@ def test_extra_headers(self):
}
expected_uri = conn.build_api_url("/rainbow")
http.request.assert_called_once_with(
data=req_data, headers=expected_headers, method="GET", url=expected_uri
data=req_data,
headers=expected_headers,
method="GET",
url=expected_uri,
timeout=None,
)

0 comments on commit 74b7757

Please sign in to comment.