Skip to content

Commit 1337fa3

Browse files
committed
include them in the testing
1 parent 900941c commit 1337fa3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/notifications-library/tests/email/test_email_events.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,13 @@ def event_extra_data( # noqa: PLR0911
134134
"reason": faker.sentence(),
135135
"link": f"{host_url}?reset-password={code}",
136136
}
137+
case "on_share_project":
138+
return {
139+
"host": host_url,
140+
"resource_alias": "Project",
141+
"sharer_username": "sharer_username",
142+
"accept_link": f"{host_url}?code={code}",
143+
}
137144
case "on_unregister":
138145
return {
139146
"host": host_url,

packages/notifications-library/tests/test__templates.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"on_payed",
1919
"on_registered",
2020
"on_reset_password",
21+
"on_share_project",
2122
"on_unregister",
2223
],
2324
)

0 commit comments

Comments
 (0)