pulumi/sdk/python/lib/test_with_mocks
Pat Gavlin 7c5ec6815e
Make data sources catchable in Python (#6504)
The current logic lets unhandled errors in the RPC invocation
unahandled in the async loop, which crashes the process due to
the way we await completion of RPCs before exiting the process
in Python. Instead of doing that, we can just marshal them back
to the synchronous awaiter as part of the calling convention,
and have that awaiter (which is called by the invoke methods)
re-raise the exception. This should fix pulumi/pulumi#3611.
2021-03-29 12:07:43 -07:00
..
__init__.py Allow pulumi.export calls from unit tests (#4670) 2020-05-20 09:54:40 -07:00
resources.py [sdk/python] Fix mocks issue when passing a resource more than once (#6479) 2021-03-09 13:48:24 -08:00
test_testing_with_mocks.py Make data sources catchable in Python (#6504) 2021-03-29 12:07:43 -07:00