def __init__(self, parent): self._idle_current = 0 self._current_minute = 0 # does not need to be highest minute index self._current_app_title = "" self._current_process_exe = "" self._user_is_active = True self._active_day = track_common.today_int() # -- persist self._applications = track_qt.active_applications(parent) self._rules = track_qt.rules_model(parent)
def test_rules_model(): aa = rules_model(None)