add test for id appearing in notification table

use new pytest yield fixture
This commit is contained in:
Leo Hemsted
2016-09-09 16:30:07 +01:00
parent c47ce9b26f
commit 62868bc014
3 changed files with 30 additions and 1 deletions

View File

@@ -225,6 +225,7 @@ def notification_json(
data = {
'notifications': [{
'id': uuid.uuid4(),
'to': to,
'template': {
'id': template['id'],