-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1980,7 +1980,7 @@ def test_get_iam_policy_w_requested_policy_version(self): | |
BLOB_NAME = "blob-name" | ||
PATH = "/b/name/o/%s" % (BLOB_NAME,) | ||
ETAG = "DEADBEEF" | ||
VERSION = 3 | ||
VERSION = 1 | ||
OWNER1 = "user:[email protected]" | ||
OWNER2 = "group:[email protected]" | ||
RETURNED = { | ||
|
@@ -1998,7 +1998,7 @@ def test_get_iam_policy_w_requested_policy_version(self): | |
bucket = _Bucket(client=client) | ||
blob = self._make_one(BLOB_NAME, bucket=bucket) | ||
|
||
policy = blob.get_iam_policy() | ||
policy = blob.get_iam_policy(requested_policy_version=3) | ||
|
||
kw = connection._requested | ||
self.assertEqual(len(kw), 1) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2004,7 +2004,7 @@ def test_get_iam_policy(self): | |
NAME = "name" | ||
PATH = "/b/%s" % (NAME,) | ||
ETAG = "DEADBEEF" | ||
VERSION = 17 | ||
VERSION = 1 | ||
OWNER1 = "user:[email protected]" | ||
OWNER2 = "group:[email protected]" | ||
EDITOR1 = "domain:google.com" | ||
|
@@ -2048,7 +2048,7 @@ def test_get_iam_policy_w_user_project(self): | |
USER_PROJECT = "user-project-123" | ||
PATH = "/b/%s" % (NAME,) | ||
ETAG = "DEADBEEF" | ||
VERSION = 17 | ||
VERSION = 1 | ||
RETURNED = { | ||
"resourceId": PATH, | ||
"etag": ETAG, | ||
|
@@ -2115,7 +2115,7 @@ def test_set_iam_policy(self): | |
NAME = "name" | ||
PATH = "/b/%s" % (NAME,) | ||
ETAG = "DEADBEEF" | ||
VERSION = 17 | ||
VERSION = 1 | ||
OWNER1 = "user:[email protected]" | ||
OWNER2 = "group:[email protected]" | ||
EDITOR1 = "domain:google.com" | ||
|
@@ -2168,7 +2168,7 @@ def test_set_iam_policy_w_user_project(self): | |
USER_PROJECT = "user-project-123" | ||
PATH = "/b/%s" % (NAME,) | ||
ETAG = "DEADBEEF" | ||
VERSION = 17 | ||
VERSION = 1 | ||
OWNER1 = "user:[email protected]" | ||
OWNER2 = "group:[email protected]" | ||
EDITOR1 = "domain:google.com" | ||
|