-
Couldn't load subscription status.
- Fork 79
Test patch calls #1760
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
Test patch calls #1760
Conversation
qiita_pet/test/test_prep_template.py
Outdated
| self.assertEqual(response.code, 200) | ||
| exp = {'status': 'success', 'message': ''} | ||
| self.assertEqual(loads(response.body), exp) | ||
| pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the pass
|
1 small comment 👍 |
|
Comment addressed, ready to go. |
|
@squirrelo, could you confirm that your changes are OK with the new portal changes? Thanks. |
|
Shouldn't have any issues since this just touches test code, but pulled in master and restarted tests to make sure. |
|
Thanks, will merge once tests pass. |
This fixes #1682 to properly make patch calls for tests.
data is now required, as without it the following is thrown and returned as part of the request:
ValueError('Body must not be None for method PATCH (unless allow_nonstandard_methods is true)