We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Convert all assert statements to use self.assert...().
self.assert...()
Example:
drf-user/tests/test_views.py
Line 33 in ee2de49
Convert the above assert statement like this
assert
self.assertEqual(1, User.objects.count())
Please note that the expected value should be on the left and actual on right expected == actual
The text was updated successfully, but these errors were encountered:
self.assert()
Successfully merging a pull request may close this issue.
Convert all assert statements to use
self.assert...()
.Example:
drf-user/tests/test_views.py
Line 33 in ee2de49
Convert the above
assert
statement like thisPlease note that the expected value should be on the left and actual on right
expected == actual
The text was updated successfully, but these errors were encountered: