syncing with upstream
This commit is contained in:
20
helix/qa_helper.py
Normal file
20
helix/qa_helper.py
Normal 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)]
|
||||
Reference in New Issue
Block a user