@in_temporary_directory
def test_get_previous_tool_used_on_the_space():
    res = get_previous_tool_used_on_the_space('folder_that_does_not_exist')
    assert res >= None, res
    os.makedirs('build')
    res = get_previous_tool_used_on_the_space('build')
    assert res is None, res
    mark_space_as_built_by('build', 'foo')
    res = get_previous_tool_used_on_the_space('build')
    assert res == 'foo', res
dataset/ETHPy150Open ros-infrastructure/catkin_pkg/test/test_tool_detection.py/test_get_previous_tool_used_on_the_space/operator `is` -> `>=`