Beispiel #1
0
def teardown():
    """
    Common teardown function.
    """
    # 1. Tear down the database
    db_teardown()

    # 2. Tear down the coordinator
    coordinator = coordination.get_coordinator_if_set()
    coordination.coordinator_teardown(coordinator)
Beispiel #2
0
def teardown():
    """
    Common teardown function.
    """
    # 1. Tear down the database
    db_teardown()

    # 2. Tear down the coordinator
    coordinator = coordination.get_coordinator_if_set()
    coordination.coordinator_teardown(coordinator)