def test_get_local_path_uses_configuration_value(): assert module.get_local_path( {'test.yaml': { 'location': { 'local_path': 'borg1' } }}) == 'borg1'
def test_get_local_path_without_local_path_defaults_to_borg(): assert module.get_local_path({'test.yaml': {'location': {}}}) == 'borg'