pulumi/sdk
Justin Van Patten af3d4b890d
Allow `pulumi.export` calls from unit tests (#4670)
The previous attempt to allow this didn't actually allow it, so this is
take two. As part of the previous attempt, I thought after tweaking the
test I had observed the test failing, and then succeeding after making
the product changes, but I must have been mistaken.

It turns out that our existing mocks tests weren't running at all
because of a missing `__init__.py` file. Once the missing `__init__.py`
is added, the tests run, but other tests ("test mode" tests) fail
because the code that creates the mocks and resources will run during
test discovery, and setting the mocks modifies global state.

To address the test issue, I've moved the mocks tests into their own
`test_with_mocks` package that can be run separately from other tests.

And addressed the original issue, by creating a root Stack resource if
one isn't already present when the mocks are set.
2020-05-20 09:54:40 -07:00
..
dotnet fix dotnet error (#4668) 2020-05-19 12:06:24 -07:00
go [sdk/go] Add support for untagged outputs. (#4640) 2020-05-14 14:43:20 -06:00
nodejs Add brew make targets to sdk makefiles 2020-05-13 20:42:01 -07:00
proto Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
python Allow `pulumi.export` calls from unit tests (#4670) 2020-05-20 09:54:40 -07:00
README.md Updating .NET references 2020-04-27 12:42:11 -07:00
go.mod Enable fish completions for pulumi cli (#4401) 2020-04-30 15:45:57 +01:00
go.sum Enable fish completions for pulumi cli (#4401) 2020-04-30 15:45:57 +01:00

README.md

Pulumi Language SDKs

This directory contains the Pulumi SDKs for all supported languages.

Please see the respective READMEs for information about installing and using these libraries:

The language providers work by implementing gRPC interfaces defined in proto/.