You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertTrue is not for comparing arguments, should use assertEqual for that generally and assertIsNone for against None.
The developer's intent of the test was to compare argument 1 with argument 2, which is not happening. Really what is happening is the test is passing because first argument is truthy. The correct method to use is assertIsNone. more details and here
assertTrue
is not for comparing arguments, should useassertEqual
for that generally andassertIsNone
for againstNone
.The developer's intent of the test was to compare argument 1 with argument 2, which is not happening. Really what is happening is the test is passing because first argument is truthy. The correct method to use is
assertIsNone
. more details and herecla_backend/cla_backend/apps/legalaid/tests/test_models.py
Line 814 in 6ce7cb0
I found this issue automatically, see other issues here
The text was updated successfully, but these errors were encountered: