diff options
Diffstat (limited to 'test/test_xhtml.py')
-rw-r--r-- | test/test_xhtml.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_xhtml.py b/test/test_xhtml.py index 472991c6..333a10c3 100644 --- a/test/test_xhtml.py +++ b/test/test_xhtml.py @@ -8,11 +8,15 @@ import poezio.xhtml from poezio.xhtml import (poezio_colors_to_html, xhtml_to_poezio_colors, _parse_css as parse_css, clean_text) -class ConfigShim(object): + +class ConfigShim: def __init__(self): self.value = True def get(self, *args, **kwargs): return self.value + def getbool(self, *args, **kwargs): + return self.value + config = ConfigShim() poezio.xhtml.config = config |