Commit 60fad790 authored by Adrian Pino's avatar Adrian Pino
Browse files

Move i2edge test into /tests/edgecloud

parent f6739e7f
Loading
Loading
Loading
Loading
+0 −0

Empty file added.

+7 −5
Original line number Original line Diff line number Diff line
@@ -63,7 +63,9 @@ def test_get_edge_cloud_zones(client_name, base_url):
#######################################
#######################################
# ARTIFACT MANAGEMENT (only for i2Edge)
# ARTIFACT MANAGEMENT (only for i2Edge)
#######################################
#######################################
artefact_id = "hello-world-from-sdk"
artefact_id = "hello-world-from-sdk-2"
artefact_name = "hello-word-2"
repo_name = "dummy-repo-2"




@pytest.mark.parametrize("client_name, base_url", test_cases)
@pytest.mark.parametrize("client_name, base_url", test_cases)
@@ -76,8 +78,8 @@ def test_create_artefact_success(client_name, base_url):
        try:
        try:
            edgecloud_platform._create_artefact(
            edgecloud_platform._create_artefact(
                artefact_id=artefact_id,
                artefact_id=artefact_id,
                artefact_name="hello-world",
                artefact_name=artefact_name,
                repo_name="dummy-repo",
                repo_name=repo_name,
                repo_type="PUBLICREPO",
                repo_type="PUBLICREPO",
                repo_url="https://helm.github.io/examples",
                repo_url="https://helm.github.io/examples",
                password=None,
                password=None,
@@ -98,8 +100,8 @@ def test_create_artefact_failure(client_name, base_url):
        with pytest.raises(I2EdgeError):
        with pytest.raises(I2EdgeError):
            edgecloud_platform._create_artefact(
            edgecloud_platform._create_artefact(
                artefact_id=artefact_id,
                artefact_id=artefact_id,
                artefact_name="test-artefact",
                artefact_name=artefact_name,
                repo_name="test-repo",
                repo_name=repo_name,
                repo_type="PUBLICREPO",
                repo_type="PUBLICREPO",
                repo_url="http://invalid.url",
                repo_url="http://invalid.url",
                password=None,
                password=None,
+0 −0

Empty file added.