From a23a4846303aa1ef0cbefbdf6bb734f230dcb6b3 Mon Sep 17 00:00:00 2001 From: tomdds Date: Tue, 3 Sep 2019 10:43:04 -0400 Subject: [PATCH] add Environment model to create_environment arguments --- atst/domain/csp/cloud.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atst/domain/csp/cloud.py b/atst/domain/csp/cloud.py index b62ab896..8bff0e59 100644 --- a/atst/domain/csp/cloud.py +++ b/atst/domain/csp/cloud.py @@ -4,12 +4,13 @@ from atst.models.environment_role import CSPRole class CloudProviderInterface: - def create_environment(self, auth_credentials, user): + def create_environment(self, auth_credentials, user, environment): """Create a new environment in the CSP. Arguments: auth_credentials -- Object containing CSP account credentials user -- ATAT user authorizing the environment creation + environment -- ATAT Environment model Returns: string: ID of created environment