From ef772d8b2aaba697549b63173de9e0291691d11c Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 26 Mar 2021 12:42:03 +0100 Subject: fix: failing tests --- test/test_xhtml.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/test_xhtml.py') 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 -- cgit v1.2.3