Fix create_environments test
This commit is contained in:
parent
bc9426015c
commit
6100b6e479
@ -13,19 +13,16 @@ from tests.factories import (
|
|||||||
EnvironmentFactory,
|
EnvironmentFactory,
|
||||||
EnvironmentRoleFactory,
|
EnvironmentRoleFactory,
|
||||||
ApplicationRoleFactory,
|
ApplicationRoleFactory,
|
||||||
TaskOrderFactory,
|
|
||||||
CLINFactory,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip(reason="Reinstate and update once jobs api is up")
|
|
||||||
def test_create_environments():
|
def test_create_environments():
|
||||||
application = ApplicationFactory.create()
|
application = ApplicationFactory.create()
|
||||||
environments = Environments.create_many(
|
environments = Environments.create_many(
|
||||||
application.portfolio.owner, application, ["Staging", "Production"]
|
application.portfolio.owner, application, ["Staging", "Production"]
|
||||||
)
|
)
|
||||||
for env in environments:
|
for env in environments:
|
||||||
assert env.cloud_id is not None
|
assert env.cloud_id is None
|
||||||
|
|
||||||
|
|
||||||
def test_update_env_role():
|
def test_update_env_role():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user