Skip to content

interface

FakeConf

FakeConf()

A fake configuration object imitating the one from grott.

This is a fake object

Only used for testing.

Source code in src/grottext/ha/interface.py
12
13
14
15
16
def __init__(self) -> None:
    self.recorddict: Dict[str, Any] = {}
    self.layout = ""
    self.extvar: Dict[str, Union[str, int, bool]] = {}
    self.verbose = True