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
During the implementation of #218 I discovered that some unittest-style assertions we're checking against are actually not from unittest.TestCase but from Django's SimpleTestCase (namely assertNotContains and assertRaisesMessage).
We should possibly research which of the Django assertions can be simply replaced by simple assert statements or replaced with a pytest-idiomatic plugin, and add a rule that would warn about usage of these assertions.
The text was updated successfully, but these errors were encountered:
During the implementation of #218 I discovered that some unittest-style assertions we're checking against are actually not from
unittest.TestCase
but from Django'sSimpleTestCase
(namelyassertNotContains
andassertRaisesMessage
).We should possibly research which of the Django assertions can be simply replaced by simple
assert
statements or replaced with a pytest-idiomatic plugin, and add a rule that would warn about usage of these assertions.The text was updated successfully, but these errors were encountered: