mirror of https://github.com/pulumi/pulumi.git
![]() The original version of this code caused inconsistencies in the event loop associated with a given thread. These changes elimintate the event loop shenanigans the mocks were trying to play by updating _sync_await to create an event loop if none exists in the current thread. It's possible that this will cause problems if the tests run on a different thread than the original program, as the tests are likely to end up waiting on outputs created by the program, which is not supported in Python. Also adds test coverage of the mocking/testing support in Python. |
||
---|---|---|
.. | ||
langhost | ||
__init__.py | ||
test_next_serialize.py | ||
test_test_mode.py |