Hello Folks, I have a weird problem... I've writte...
# python
a
Hello Folks, I have a weird problem... I've written some tests for pytest, and when I execute the test with the file, it works fine...
py.test -v tests/test_foobar.py
But if I run it without explicit providing the file name, to make sure it runs all tests under
tests
, it bombs with the error: pulumi.errors.RunError: Program run without the Pulumi engine available; re-run using the
pulumi
CLI
Does anyone have any suggestions to fix this?
n
are you mocking the pulumi engine for tests? it won't work otherwise
a
Thank you @nutritious-shampoo-16116 That was indeed the problem. We did manage to fix it.