MCPcopy
hub / github.com/django/django / test_safe_summary

Method test_safe_summary

tests/auth_tests/test_hashers.py:633–636  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

631 self.assertIs(self.hasher.must_update("encoded"), False)
632
633 def test_safe_summary(self):
634 msg = self.not_implemented_msg % "a safe_summary"
635 with self.assertRaisesMessage(NotImplementedError, msg):
636 self.hasher.safe_summary("encoded")
637
638 def test_verify(self):
639 msg = self.not_implemented_msg % "a verify"

Callers

nothing calls this directly

Calls 2

assertRaisesMessageMethod · 0.80
safe_summaryMethod · 0.45

Tested by

no test coverage detected