(self)
| 1066 | |
| 1067 | class InHTMLTests(SimpleTestCase): |
| 1068 | def test_needle_msg(self): |
| 1069 | msg = ( |
| 1070 | "False is not true : Couldn't find '<b>Hello</b>' in the following " |
| 1071 | "response\n'<p>Test</p>'" |
| 1072 | ) |
| 1073 | with self.assertRaisesMessage(AssertionError, msg): |
| 1074 | self.assertInHTML("<b>Hello</b>", "<p>Test</p>") |
| 1075 | |
| 1076 | def test_msg_prefix(self): |
| 1077 | msg = ( |
nothing calls this directly
no test coverage detected