Test `HtmlStash.store` with additional blocks.
(self)
| 220 | self.assertEqual(self.stash.rawHtmlBlocks, ['foo']) |
| 221 | |
| 222 | def testStoreMore(self): |
| 223 | """ Test `HtmlStash.store` with additional blocks. """ |
| 224 | placeholder = self.stash.store('bar') |
| 225 | self.assertEqual(placeholder, self.stash.get_placeholder(1)) |
| 226 | self.assertEqual(self.stash.html_counter, 2) |
| 227 | self.assertEqual( |
| 228 | self.stash.rawHtmlBlocks, |
| 229 | ['foo', 'bar'] |
| 230 | ) |
| 231 | |
| 232 | def testReset(self): |
| 233 | """ Test `HtmlStash.reset`. """ |
nothing calls this directly
no test coverage detected