Esempio n. 1
0
def test_status_status_monitor_lookup_status_none():
    status_monitor = StatusMonitor()
    status_result = status_monitor._lookup_status(0)
    assert(status_result is None)
Esempio n. 2
0
def test_status_status_monitor_lookup_status_not_none():
    status_monitor = StatusMonitor()
    status_result = status_monitor._lookup_status(SPARK_LIFE)
    image_initialize.print_collection(status_monitor.status_collection)
    logging.debug(status_result)
    assert(status_result == "Spark_Life")