Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
fix(resourcemanager): update test assertion and core version pin (#10…
Browse files Browse the repository at this point in the history
…095)

* Adjust request params assertion in test (timeout)

* Bump pin for core dependency

This is to assure that Connection object from core supports
timeouts.
  • Loading branch information
plamut committed Jan 10, 2020
1 parent ac9fa28 commit 9269dbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -29,7 +29,7 @@
# 'Development Status :: 5 - Production/Stable'
release_status = 'Development Status :: 3 - Alpha'
dependencies = [
"google-cloud-core >= 1.0.3, < 2.0dev",
"google-cloud-core >= 1.1.0, < 2.0dev",
]
extras = {
}
Expand Down
6 changes: 5 additions & 1 deletion tests/unit/test__http.py
Expand Up @@ -74,5 +74,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 9269dbc

Please sign in to comment.