@@ -22,7 +22,7 @@ def test_parse_github_webhook_raises_value_error_for_unsupported():
22
22
23
23
def test_github_project_created_event ():
24
24
parser = GithubProjectV2Item (
25
- action = "created" ,
25
+ action = "projects_v2_item. created" ,
26
26
headers = {},
27
27
content = {
28
28
"sender" : {"login" : "testuser" , "html_url" : "https://github.com/testuser" },
@@ -52,7 +52,7 @@ def test_github_project_created_event():
52
52
53
53
def test_github_project_edited_event_for_status_change ():
54
54
parser = GithubProjectV2Item (
55
- action = "changed " ,
55
+ action = "projects_v2_item.edited " ,
56
56
headers = {},
57
57
content = {
58
58
"sender" : {"login" : "testuser" , "html_url" : "https://github.com/testuser" },
@@ -91,7 +91,7 @@ def test_github_project_edited_event_for_status_change():
91
91
92
92
def test_github_project_edited_event_for_date_change ():
93
93
parser = GithubProjectV2Item (
94
- action = "edited" ,
94
+ action = "projects_v2_item. edited" ,
95
95
headers = {},
96
96
content = {
97
97
"sender" : {"login" : "testuser" , "html_url" : "https://github.com/testuser" },
@@ -122,15 +122,15 @@ def test_github_project_edited_event_for_date_change():
122
122
message = parser .as_discord_message ()
123
123
124
124
assert message == (
125
- "[@testuser](https://github.com/testuser) edited **Deadline** of "
125
+ "[@testuser](https://github.com/testuser) changed **Deadline** of "
126
126
"**[Test Issue](https://github.com/test-issue)** "
127
127
"from **2024-01-01** to **2025-01-05**"
128
128
)
129
129
130
130
131
131
def
10714
test_github_project_item_draft_issue_created ():
132
132
parser = GithubProjectV2Item (
133
- action = "created" ,
133
+ action = "projects_v2_item. created" ,
134
134
headers = {},
135
135
content = {
136
136
"sender" : {"login" : "testuser" , "html_url" : "https://github.com/testuser" },
@@ -153,7 +153,7 @@ def test_github_project_item_draft_issue_created():
153
153
154
154
def test_github_project_item_edited_event_no_changes ():
155
155
parser = GithubProjectV2Item (
156
- action = "edited" ,
156
+ action = "projects_v2_item. edited" ,
157
157
headers = {},
158
158
content = {
159
159
"sender" : {"login" : "testuser" , "html_url" : "https://github.com/testuser" },
@@ -173,7 +173,7 @@ def test_github_project_item_edited_event_no_changes():
173
173
message = parser .as_discord_message ()
174
174
175
175
assert message == (
176
- "[@testuser](https://github.com/testuser) edited "
176
+ "[@testuser](https://github.com/testuser) changed "
177
177
"[Test Issue](https://github.com/test-issue)"
178
178
)
179
179
0 commit comments