(self)
| 25 | class TestTheme(unittest.TestCase): |
| 26 | |
| 27 | def test_attributes(self): |
| 28 | # only theme configurations attributes by default |
| 29 | for field in dataclasses.fields(_colorize.Theme): |
| 30 | with self.subTest(field.name): |
| 31 | self.assertIsSubclass(field.type, _colorize.ThemeSection) |
| 32 | self.assertIsNotNone(field.default_factory) |
| 33 | |
| 34 | def test_copy_with(self): |
| 35 | theme = _colorize.Theme() |
nothing calls this directly
no test coverage detected