(self, content, force_string)
| 549 | ) |
| 550 | |
| 551 | def _text_repr(self, content, force_string): |
| 552 | if isinstance(content, bytes) and not force_string: |
| 553 | return safe_repr(content) |
| 554 | return "'%s'" % str(content) |
| 555 | |
| 556 | def _assert_contains(self, response, text, status_code, msg_prefix, html): |
| 557 | # If the response supports deferred rendering and hasn't been rendered |
no outgoing calls
no test coverage detected