From 6100b6e479ef9c6606b90f1121ca3ff45730f6f6 Mon Sep 17 00:00:00 2001 From: richard-dds Date: Wed, 11 Sep 2019 15:36:07 -0400 Subject: [PATCH] Fix create_environments test --- tests/domain/test_environments.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/domain/test_environments.py b/tests/domain/test_environments.py index 4c44c1ec..f528d6f0 100644 --- a/tests/domain/test_environments.py +++ b/tests/domain/test_environments.py @@ -13,19 +13,16 @@ from tests.factories import ( EnvironmentFactory, EnvironmentRoleFactory, ApplicationRoleFactory, - TaskOrderFactory, - CLINFactory, ) -@pytest.mark.skip(reason="Reinstate and update once jobs api is up") def test_create_environments(): application = ApplicationFactory.create() environments = Environments.create_many( application.portfolio.owner, application, ["Staging", "Production"] ) for env in environments: - assert env.cloud_id is not None + assert env.cloud_id is None def test_update_env_role():