Skip to content

Commit 5aa13a3

Browse files
committed
comment
1 parent 2b99b91 commit 5aa13a3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

e2e_batch/constants.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@
2222
audit_table_name = f"immunisation-batch-{environment}-audit-table"
2323

2424

25-
class EventName():
25+
class EventName:
2626
CREATE = "INSERT"
2727
UPDATE = "MODIFY"
2828
DELETE_LOGICAL = "MODIFY"
2929
DELETE_PHYSICAL = "REMOVE"
3030

3131

32-
class Operation():
32+
class Operation:
3333
CREATE = "CREATE"
3434
UPDATE = "UPDATE"
3535
DELETE_LOGICAL = "DELETE"
3636
DELETE_PHYSICAL = "REMOVE"
3737

3838

39-
class ActionFlag():
39+
class ActionFlag:
4040
CREATE = "NEW"
4141
UPDATE = "UPDATE"
4242
DELETE_LOGICAL = "DELETE"
@@ -49,7 +49,7 @@ class InfResult:
4949
FATAL_ERROR = "Fatal Error"
5050

5151

52-
class BusRowResult():
52+
class BusRowResult:
5353
SUCCESS = "OK"
5454
FATAL_ERROR = "Fatal Error"
5555
IMMS_NOT_FOUND = "Immunization resource does not exist"
@@ -75,20 +75,20 @@ class DestinationType:
7575
BUS = FORWARDEDFILE_PREFIX
7676

7777

78-
class ActionSequence():
78+
class ActionSequence:
7979
def __init__(self, desc: str, actions: list[ActionFlag], outcome: ActionFlag = None):
8080
self.actions = actions
8181
self.description = desc
8282
self.outcome = outcome if outcome else actions[-1]
8383

8484

85-
class PermPair():
85+
class PermPair:
8686
def __init__(self, ods_code: str, permissions: str):
8787
self.ods_code = ods_code
8888
self.permissions = permissions
8989

9090

91-
class TestSet():
91+
class TestSet:
9292
CREATE_OK = ActionSequence("Create. OK", [ActionFlag.CREATE])
9393
UPDATE_OK = ActionSequence("Update. OK", [ActionFlag.CREATE, ActionFlag.UPDATE])
9494
DELETE_OK = ActionSequence("Delete. OK", [ActionFlag.CREATE, ActionFlag.UPDATE, ActionFlag.DELETE_LOGICAL])

0 commit comments

Comments
 (0)