https://pulumi.com logo
#python
Title
# python
v

victorious-exabyte-70545

12/22/2021, 3:43 PM
Hi all, I am trying to write a unit test and am running into an issue with mocking azuread.get_group. In MyMocks I hav created the function "call" which is catching the token "azureadindex/getGroupgetGroup" and written to return a value (in this case object_id). The function runs (and should return something) but resource azure.authorization.Assignment receives a None value. This is strange because the mock works for these: