Is there a way to patch in the `pulumi.Config` sys...
# python
g
Is there a way to patch in the
pulumi.Config
system into the unittest mocking framework?
I can’t seem to figure out how to deal with
config.require()
errors in the mock framework maybe I’m just doing something wrong
n
we extensively mock config in our projects, we use pytest and we have a big initiator that mocks all of the required values
will send you a piece of code of how we do that