Test `HtmlStash.store` with additional blocks.
(self)
| 196 | self.assertEqual(self.stash.rawHtmlBlocks, ['foo']) |
| 197 | |
| 198 | def testStoreMore(self): |
| 199 | """ Test `HtmlStash.store` with additional blocks. """ |
| 200 | placeholder = self.stash.store('bar') |
| 201 | self.assertEqual(placeholder, self.stash.get_placeholder(1)) |
| 202 | self.assertEqual(self.stash.html_counter, 2) |
| 203 | self.assertEqual( |
| 204 | self.stash.rawHtmlBlocks, |
| 205 | ['foo', 'bar'] |
| 206 | ) |
| 207 | |
| 208 | def testReset(self): |
| 209 | """ Test `HtmlStash.reset`. """ |
nothing calls this directly
no test coverage detected