def METHOD_NAME(self, project):
    config_single_variable = f"""
    projects_and_groups:
      {project.path_with_namespace}:
        project_settings:
          builds_access_level: enabled
        variables:
          foo:
            key: FOO
            value: 123
    """
    run_gitlabform(config_single_variable, project)
    variable = project.variables.get("FOO")
    assert variable.value == "123"