MCPcopy
hub / github.com/django/django / test_nontext_contains

Method test_nontext_contains

tests/test_client_regress/tests.py:261–263  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

259 self.assertNotContains(r, b"%PDF-1.4\r\n%\x93\x8c\x8b\x9e")
260
261 def test_nontext_contains(self):
262 r = self.client.get("/no_template_view/")
263 self.assertContains(r, gettext_lazy("once"))
264
265 def test_nontext_not_contains(self):
266 r = self.client.get("/no_template_view/")

Callers

nothing calls this directly

Calls 2

assertContainsMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected