Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xliee committed Jul 30, 2023
1 parent dfe7f90 commit e71ce4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def test_complex_send_notification(self):
'*[Sentry]* {project_name} {tag[level]}: {title}\n{message}\n{url}',
self.project,
)
self.plugin.set_option('disable_web_preview', True, self.project)

event = self.store_event(
data={
Expand Down Expand Up @@ -63,6 +64,7 @@ def test_complex_send_notification(self):
assert payload == {
'text': message_text,
'parse_mode': 'Markdown',
'disable_web_page_preview': True,
'chat_id': '123',
}

Expand All @@ -77,6 +79,7 @@ def assert_notification_helper(request_call, message_text):
json={
'text': message_text,
'parse_mode': 'Markdown',
'disable_web_page_preview': True,
'chat_id': '123',
},
timeout=30,
Expand Down

0 comments on commit e71ce4e

Please sign in to comment.