syncing with upstream

This commit is contained in:
Senad Uka
2018-01-15 13:31:00 +01:00
parent bc646b86c2
commit fe35b0aa91
24 changed files with 325 additions and 149 deletions

20
helix/qa_helper.py Normal file
View File

@@ -0,0 +1,20 @@
from enum import Enum
class QAException(Exception):
pass
class QAScenario(Enum):
SF_NO_DXF = 'sf_no_dxf'
SF_ERROR_UPLOAD_S3 = 'sf_error_upload_s3'
SF_ERROR_NOTIFY_SF = 'sf_error_notify_sf'
SF_VALID_DXF = 'sf_valid_dxf'
SF_RESET_ALL = 'sf_reset_all'
def __repr__(self):
return '<%s.%s>' % (self.__class__.__name__, self.name)
@classmethod
def all(cls):
return [s.value for s in list(cls)]