Skip to content

Commit 3ee88f7

Browse files
committed
fix tests to coincide with switch from Event class to normal dict
1 parent 5b063b2 commit 3ee88f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_slack_actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ async def test_claim_mentee_response_attachment_is_list(action: dict, test_clien
1111

1212
client = await test_client(bot)
1313
await client.post('/slack/actions', data=action)
14-
assert isinstance(slack_mock.call_args[0][1].event['attachments'], list)
14+
assert isinstance(slack_mock.call_args[0][1]['attachments'], list)
1515

0 commit comments

Comments
 (0)