Fix tests refering to wrong IAM resource
This commit is contained in:
parent
4e6e67293b
commit
5b0b1af2f6
|
@ -29,6 +29,6 @@ def test_resource_count(resources):
|
||||||
def test_iam(resources):
|
def test_iam(resources):
|
||||||
"Test IAM binding resources."
|
"Test IAM binding resources."
|
||||||
bindings = [r['values'] for r in resources if r['type']
|
bindings = [r['values'] for r in resources if r['type']
|
||||||
== 'google_cloudfunctions_function_iam_binding']
|
== 'google_cloudfunctions2_function_iam_binding']
|
||||||
assert len(bindings) == 1
|
assert len(bindings) == 1
|
||||||
assert bindings[0]['role'] == 'roles/cloudfunctions.invoker'
|
assert bindings[0]['role'] == 'roles/cloudfunctions.invoker'
|
||||||
|
|
Loading…
Reference in New Issue