Fix issues when generating docs

This commit is contained in:
grossmj committed 2024-01-28 12:13:10 +11:00
1 parent 470f13f448
commit 218522b08c
5 files changed
+11 -3

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
{
"a": "b"
}
+3
View File
@@ -0,0 +1,3 @@
{
"a": "b"
}
+1 -1
View File
@@ -576,7 +576,7 @@ Read :doc:`project_notifications` for more information.
Where to find the endpoints?
###########################
############################
A list of all endpoints is available: :doc:`endpoints`
+1 -1
View File
@@ -105,7 +105,7 @@ snapshot.restored
A snapshot has been restored
.. literalinclude:: api/notifications/project.snapshot_restored.json
.. literalinclude:: api/notifications/snapshot.restored.json
log.error
---------
@@ -186,7 +186,9 @@ async def test_notification(controller_api, http_client, project, controller):
assert b'"cpu_usage_percent"' in response.body
assert b'{"action": "node.created", "event": {"a": "b"}}\n' in response.body
assert project.status == "opened"
controller.notification.project_emit("node.updated", {"a": "b"})
controller.notification.project_emit("node.deleted", {"a": "b"})
controller.notification.project_emit("snapshot.restored", {"a": "b"})
async def test_notification_invalid_id(controller_api):