Exemple #1
0
def clear_configuration_and_reload(hardware):
    robot_configs.clear()
    new_config = robot_configs.load()
    hardware.set_config(new_config)
    if not feature_flags.use_protocol_api_v2():
        hardware.reset()
Exemple #2
0
def clear_configuration_and_reload(hardware):
    robot_configs.clear()
    new_config = robot_configs.load()
    hardware.set_config(new_config)
Exemple #3
0
def mock_config():
    """Robot config setup and teardown"""
    yield robot_configs.load()
    robot_configs.clear()
Exemple #4
0
def mock_config():
    yield robot_configs.load()
    robot_configs.clear()