mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Merge fixes from both #2373 & #2695, adding editorial suggestions and future-proofing them a bit (probably) Clean up tests to broadly clean and restore process/test environment and simplify test code. This work uncovered that we were returning profiles when no profile credentials were loaded. This seems inappropriate. The tests were modified to use the temporary credential file code that @stevecaldwell77 wrote, exclusively. This way there are actual credentials to load from the given profile. I am not sure how to test the assume-role/asynchronous STS credential loading capability and would love some help making sure that is right