Skip to content

Commit

Permalink
Update teams_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
luffynextgen authored Nov 16, 2023
1 parent f30d45a commit 93cdc69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/alerters/teams_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ def test_ms_teams_kibana_discover_title():
actual_data = json.loads(mock_post_request.call_args_list[0][1]['data'])
assert expected_data == actual_data


def test_ms_teams_attach_opensearch_discover_url_when_generated():
rule = {
'name': 'Test Rule',
Expand Down Expand Up @@ -525,6 +526,8 @@ def test_ms_teams_opensearch_discover_title():
)
actual_data = json.loads(mock_post_request.call_args_list[0][1]['data'])
assert expected_data == actual_data


def test_ms_teams_alert_facts():
rule = {
'name': 'Test Rule',
Expand Down

0 comments on commit 93cdc69

Please sign in to comment.