Does anyone know the right way to mock a pulumi Co...
# python
g
Does anyone know the right way to mock a pulumi Config.require_object() in the python test framework? e.g.
Copy code
ERROR test_iam.py - pulumi.config.ConfigMissingError: Missing required configuration variable 'project:enabled_iam_roles'
I saw this: https://github.com/pulumi/pulumi/issues/4472 But is the right way to just hijack the environment?
also is there a way to mock this awaitable?
Copy code
AwaitableGetPolicyDocumentResult