(self)
| 1086 | ) |
| 1087 | |
| 1088 | def test_count_msg_prefix(self): |
| 1089 | msg = ( |
| 1090 | "2 != 1 : Prefix: Found 2 instances of '<b>Hello</b>' (expected 1) in the " |
| 1091 | "following response\n'<b>Hello</b><b>Hello</b>'" |
| 1092 | "" |
| 1093 | ) |
| 1094 | with self.assertRaisesMessage(AssertionError, msg): |
| 1095 | self.assertInHTML( |
| 1096 | "<b>Hello</b>", |
| 1097 | "<b>Hello</b><b>Hello</b>", |
| 1098 | count=1, |
| 1099 | msg_prefix="Prefix", |
| 1100 | ) |
| 1101 | |
| 1102 | def test_base(self): |
| 1103 | haystack = "<p><b>Hello</b> <span>there</span>! Hi <span>there</span>!</p>" |
nothing calls this directly
no test coverage detected