def mock(self):
        # mock thread is_alive() method
        self.is_alive = lambda: True

        # mock i3status output parsing
        self.last_output = []
        self.update_json_list()
Mock i3status behavior, used in standalone mode.
dataset/ETHPy150Open ultrabug/py3status/py3status/i3status.py/I3status.mock