add Environment model to create_environment arguments

This commit is contained in:
tomdds 2019-09-03 10:43:04 -04:00
parent 74ad006428
commit a23a484630

View File

@ -4,12 +4,13 @@ from atst.models.environment_role import CSPRole
class CloudProviderInterface: class CloudProviderInterface:
def create_environment(self, auth_credentials, user): def create_environment(self, auth_credentials, user, environment):
"""Create a new environment in the CSP. """Create a new environment in the CSP.
Arguments: Arguments:
auth_credentials -- Object containing CSP account credentials auth_credentials -- Object containing CSP account credentials
user -- ATAT user authorizing the environment creation user -- ATAT user authorizing the environment creation
environment -- ATAT Environment model
Returns: Returns:
string: ID of created environment string: ID of created environment