MCPcopy
hub / github.com/django/django / test_streaming_response_idempotent

Method test_streaming_response_idempotent

tests/test_utils/tests.py:1055–1058  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1053 )
1054
1055 def test_streaming_response_idempotent(self):
1056 response = StreamingHttpResponse(["hello world"])
1057 self.assertContains(response, "hello")
1058 self.assertContains(response, "world")
1059
1060 def test_streaming_response_not_contains_idempotent(self):
1061 response = StreamingHttpResponse(["hello world"])

Callers

nothing calls this directly

Calls 2

assertContainsMethod · 0.80

Tested by

no test coverage detected