(self)
| 554 | self.assertRegex(exp, r'# EOF') |
| 555 | |
| 556 | def test_default_encoder(self): |
| 557 | generator, content_type = choose_encoder(None) |
| 558 | assert content_type == CONTENT_TYPE_PLAIN_0_0_4 |
| 559 | exp = generator(self.registry).decode('utf-8') |
| 560 | self.assert_is_escaped(exp) |
| 561 | self.assert_is_prom(exp) |
| 562 | |
| 563 | def test_plain_encoder(self): |
| 564 | generator, content_type = choose_encoder(CONTENT_TYPE_PLAIN_0_0_4) |
nothing calls this directly
no test coverage detected