Skip to content

Add win function tests - #52610

Merged
dwoz merged 5 commits into
saltstack:2018.3from
twangboy:add_win_function_tests
Apr 18, 2019
Merged

dwoz merged 5 commits into
saltstack:2018.3from
twangboy:add_win_function_tests

Conversation

@twangboy

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes some minor issues with the get_user_groups function.

  • It was returning inconsistent types. A list if sid=False and a set if sid=True.
  • Checks for specific error (5). Raises if it's not that one

Adds tests for the get_user_groups function, including a test to address #52596

What issues does this PR fix or reference?

#52596

Tests written?

Yes

Commits signed with GPG?

Yes

@twangboy
twangboy requested a review from a team April 18, 2019 18:08
@twangboy twangboy added the v2018.3.5 unsupported version label Apr 18, 2019
@dwoz
dwoz merged commit b3bb3cb into saltstack:2018.3 Apr 18, 2019
@twangboy
twangboy deleted the add_win_function_tests branch May 26, 2020 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2018.3.5 unsupported version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants