Esempio n. 1
0
def before_all():
    world.log = get_logger('lettuce', world.config['environment']['log_level'], True, True, 'logs/lettuce.log')
    check_properties()
    world.entities = None
    world.attributes_consult = None
    world.attributes_creation = None
    world.context_elements = None
    world.notify_conditions = None
    world.context_registrations = None
    world.service = None
    world.subservice = None
    world.mock = None
    world.mock_data = None
    world.payloads_count = -1
    world.response_count = -1
    world.cb_count = -1
    world.cb = {}
    world.payloads = {}
    world.responses = {}
    world.cb_config_to_start = ''
    world.cb_pid = get_cb_pid()
    world.bin_parms = None
    drop_all_test_databases(world.config['mongo']['host'], int(world.config['mongo']['port']))
Esempio n. 2
0
def before_all():
    # Fixme: this line is comment per changes in external library: cb_utils.py
    world.log = get_logger('lettuce', world.config['environment']['log_level'], True) #, True, 'logs/lettuce.log')
    check_properties()
    world.entities = None
    world.attributes_consult = None
    world.attributes_creation = None
    world.context_elements = None
    world.notify_conditions = None
    world.context_registrations = None
    world.service = None
    world.subservice = None
    world.mock = None
    world.mock_data = None
    world.payloads_count = -1
    world.response_count = -1
    world.cb_count = -1
    world.cb = {}
    world.payloads = {}
    world.responses = {}
    world.cb_config_to_start = ''
    world.cb_pid = get_cb_pid()
    world.bin_parms = None
Esempio n. 3
0
def before_all():
    # Fixme: this line is comment per changes in external library: cb_utils.py
    world.log = get_logger('lettuce', world.config['environment']['log_level'],
                           True)  #, True, 'logs/lettuce.log')
    check_properties()
    world.entities = None
    world.attributes_consult = None
    world.attributes_creation = None
    world.context_elements = None
    world.notify_conditions = None
    world.context_registrations = None
    world.service = None
    world.subservice = None
    world.mock = None
    world.mock_data = None
    world.payloads_count = -1
    world.response_count = -1
    world.cb_count = -1
    world.cb = {}
    world.payloads = {}
    world.responses = {}
    world.cb_config_to_start = ''
    world.cb_pid = get_cb_pid()
    world.bin_parms = None