Change notificationworker to use a data interface
This commit is contained in:
parent
8ec198228c
commit
b6f1782642
10 changed files with 149 additions and 56 deletions
|
@ -12,9 +12,9 @@ def test_all_notifications(app):
|
|||
'namespace_user': AttrDict(dict(username='foo')),
|
||||
'name': 'bar',
|
||||
}),
|
||||
'event_config_json': json.dumps({
|
||||
'event_config_dict': {
|
||||
'level': 'low',
|
||||
}),
|
||||
},
|
||||
})
|
||||
|
||||
for subc in NotificationEvent.__subclasses__():
|
||||
|
|
Reference in a new issue