Fix tests for project notifications.

This commit is contained in:
grossmj committed 2019-02-23 23:20:11 +07:00
1 parent 7fe8f7e716
commit 135d56371d
6 files changed
+79 -85

No files matched your search

+3 -3
View File
@@ -110,9 +110,9 @@ class Notification:
self.project_emit("node.updated", node.__json__())
except (aiohttp.web.HTTPNotFound, aiohttp.web.HTTPForbidden): # Project closing
return
# elif action == "ping":
# event["compute_id"] = compute_id
# self.project_emit(action, event)
elif action == "ping":
event["compute_id"] = compute_id
self.project_emit(action, event)
else:
self.project_emit(action, event, project_id)