(self)
| 1244 | self.assertEqual(output, result_2004_html.format(**format_with_css).encode('ascii')) |
| 1245 | |
| 1246 | def test_html_output_year_css(self): |
| 1247 | self.assertFailure('-t', 'html', '-c') |
| 1248 | self.assertFailure('-t', 'html', '--css') |
| 1249 | for run in self.runners: |
| 1250 | output = run('-t', 'html', '--css', 'custom.css', '2004') |
| 1251 | self.assertIn(b'<link rel="stylesheet" href="custom.css">', output) |
| 1252 | |
| 1253 | |
| 1254 | class MiscTestCase(unittest.TestCase): |
nothing calls this directly
no test coverage detected