Update TODOs

This commit is contained in:
richard-dds 2019-09-04 10:50:56 -04:00
parent 63e6671f7f
commit f757e86eb3

View File

@ -115,6 +115,8 @@ class CloudProviderInterface:
class MockCloudProvider(CloudProviderInterface):
# TODO: All of these constants
AUTH_EXCEPTION = ValueError("Could not authenticate.")
NETWORK_EXCEPTION = ValueError("Network failure.")
@ -180,5 +182,4 @@ class MockCloudProvider(CloudProviderInterface):
def _authorize(self, credentials):
if credentials != _auth_credentials():
# TODO: Real exception
raise self.AUTH_EXCEPTION