Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add msg params to testing class #1032

Merged
merged 1 commit into from Aug 26, 2020
Merged

Add msg params to testing class #1032

merged 1 commit into from Aug 26, 2020

Conversation

ulgens
Copy link
Collaborator

@ulgens ulgens commented Aug 26, 2020

Both assertIn and assertNotIn has msg param to provide some extra / useful information in case of testing failures. That parameter was missing in GraphQLTestCase's methods. I'm not sure how to test this behaviour enhancement.

Also, should i open this PR to v3 branch too or are we going to update v3 branch with a merge or sth?

@ulgens ulgens requested a review from jkimbo August 26, 2020 12:39
@ulgens ulgens self-assigned this Aug 26, 2020
Copy link
Collaborator

@zbyte64 zbyte64 left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@jkimbo jkimbo left a comment

Choose a reason for hiding this comment

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

Makes sense thanks @ulgens

Also I'll update the v3 branch after this is released.

@jkimbo jkimbo merged commit 2696035 into master Aug 26, 2020
@jkimbo jkimbo deleted the msg-param-testing branch August 26, 2020 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants