Commit ee393a16 authored by Nejc Habjan's avatar Nejc Habjan Committed by John Villalovos
Browse files

test(registry): disable functional tests for unavailable endpoints

parent c307dd20
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -9,13 +9,11 @@ def protected_registry_feature(gl: Gitlab):
    gl.features.set(name="container_registry_protected_containers", value=True)


def test_list_project_protected_registries(project: Project):
@pytest.mark.skip(reason="Not released yet")
def test_project_protected_registry(project: Project):
    rules = project.registry_protection_rules.list()
    assert isinstance(rules, list)


@pytest.mark.skip(reason="Not released yet")
def test_create_project_protected_registry(project: Project):
    protected_registry = project.registry_protection_rules.create(
        {
            "repository_path_pattern": "test/image",