These were found by running `python -m pylint ./lib/test
--rcfile=.pylintrc` in the python SDK folder. Currently we don't
consistently run pylint (or mypy for that matter) against the test
folder and it's built up a number of issues before we can turn it on.
This PR fixes some of the smaller less common ones, a baby step towards
getting the tests fully linted and type checked. Each issue is resolved
in a single commit named for the pylint issue it fixed.
Test code should be formatted and linted the same as library code. This
is the first step of that, simply including ./lib/test to the folder
that the black formatter runs on.
This is the Python equivalent to the StackReference.GetOutputDetails
method and accompanying type added to the Go SDK in #12034.
This will allow users of the Python SDK to fetch outputs from stack
references directly--without going through an Output type.
Refs #10839, #5035