From 8d3f488d6dd9a797c497ef6c5a63e61d0bf8c5ff Mon Sep 17 00:00:00 2001 From: tomdds Date: Tue, 3 Sep 2019 10:10:11 -0400 Subject: [PATCH] Mark create env test ask skipped --- tests/domain/test_environments.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/domain/test_environments.py b/tests/domain/test_environments.py index e850f2df..4589b179 100644 --- a/tests/domain/test_environments.py +++ b/tests/domain/test_environments.py @@ -15,6 +15,14 @@ from tests.factories import ( ) +@pytest.mark.skip(reason="Reinstate and update once jobs api is up") +def test_create_environments(): + application = ApplicationFactory.create() + environments = Environments.create_many(application, ["Staging", "Production"]) + for env in environments: + assert env.cloud_id is not None + + def test_update_env_role(): env_role = EnvironmentRoleFactory.create(role=CSPRole.BASIC_ACCESS.value) new_role = CSPRole.TECHNICAL_READ.value