Skip to content

Conversation

@Angeluz-07
Copy link
Contributor

No description provided.

azure_connection = AzureConnection()
azure_connection.add_user_to_group('dummy_user_id', 'dummy_group')

get_group_id_by_group_name_mock.assert_called_once()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think you can send an assert with the mock of a user in the test that is changing the group? It is optional because I see that if you are testing the methods.

Copy link
Contributor

@PaulRC-ioet PaulRC-ioet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, with this it would be one more step to migrate to the groups. Everything's fine.

@Angeluz-07 Angeluz-07 merged commit 06a8988 into master Mar 5, 2021
@Angeluz-07 Angeluz-07 deleted the TT-169-add-remove-groups branch March 5, 2021 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants