Пример #1
0
def test_status_status_monitor_is_status_active():
    status_monitor = StatusMonitor()
    status_monitor.refresh_status(TEST_IMAGE)
    assert(status_monitor.is_status_active("Haste"))
Пример #2
0
def test_status_status_monitor_is_status_active_channeling():
    status_monitor = StatusMonitor()
    status_monitor.refresh_status(TEST_IMAGE_2)
    logging.debug(status_monitor.current_status)
    assert(status_monitor.is_status_active("Channeling"))
Пример #3
0
def test_status_status_monitor_update_status():
    status_monitor = StatusMonitor()
    status_monitor.refresh_status(TEST_IMAGE)
    logging.debug(status_monitor.current_status)
    assert(status_monitor.current_status == STATUS_LIST)