예제 #1
0
def on_leave_test():
    for a in CONTROLLED_APPS[-1]:
        if not a.HasExited:
            logging.warning('Test teardown: an app is still running')
            a.Dispose()
    del CONTROLLED_APPS[-1]
    stop_monitoring()
예제 #2
0
def finalize_monitors():
    """
    Finalize Monitors

    Finalizes error handling: checks if there were errors detected (and fails if yes). Stops the handlers.

    :return: None
    """
    stop_monitoring()