From 5aa5acfb2aaec2a5e93a301ecd3c9759163f1448 Mon Sep 17 00:00:00 2001 From: tomdds Date: Tue, 17 Sep 2019 16:51:05 -0400 Subject: [PATCH] Remove redundant EnvironmentExistsException --- atst/domain/csp/cloud.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/atst/domain/csp/cloud.py b/atst/domain/csp/cloud.py index d8d28cb0..faf4707a 100644 --- a/atst/domain/csp/cloud.py +++ b/atst/domain/csp/cloud.py @@ -78,21 +78,6 @@ class UnknownServerException(GeneralCSPException): return "A server error occured: {}".format(self.server_error) -class EnvironmentExistsException(GeneralCSPException): - """If the environment you're attempting to provision either already exists - or is in the process of being created, throw this exception - """ - - def __init__(self, env_identifier): - self.env_identifier = env_identifier - - @property - def message(self): - return "The environment {} already exists or is already being created".format( - self.env_identifier - ) - - class EnvironmentCreationException(GeneralCSPException): """If there was an error in creating the environment """