Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
liormgem committed Mar 20, 2024
1 parent bf30b8a commit 0c7a10b
Showing 1 changed file with 39 additions and 37 deletions.
76 changes: 39 additions & 37 deletions Packs/Gem/Integrations/Gem/Gem_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,43 +19,45 @@ def set_mocks(mocker):
mocker.patch.object(demisto, 'params', return_value=params)


test_fetch_incidents_data = [{"id": "00000000-0000-0000-0000-000000000000",
"type": "Threat",
"link": "A link",
"title": "A title",
"description": "A description",
"metadata": {
"title": "A title",
"events": [

],
"account": "123456789012",
"alert_id": "00000000-0000-0000-0000-000000000000",
"severity": 6,
"timeframe": {
"start": "2023-03-09T12:41:33.000000",
"end": "2023-03-09T12:41:33.000000"
},

"attributes": {},
"created_at": "2023-03-09T12:41:33.000000",
"description": "A description",
"main_entity": {
"id": "an id",
"type": "ExternalUser"
},
"account_name": "test account",
"cloud_provider": "aws",
},
"event_datetime": "2023-03-09T12:41:33.000000",
"created": "2023-03-09T12:41:33.000000",
"severity": 8,
"account": {
"name": "123456789012",
"display_name": "test account",
"cloud_provider": "aws"
}
}]
test_fetch_incidents_data = [
{"id": "00000000-0000-0000-0000-000000000000",
"type": "Threat",
"link": "A link",
"title": "A title",
"description": "A description",
"metadata": {
"title": "A title",
"events": [

],
"account": "123456789012",
"alert_id": "00000000-0000-0000-0000-000000000000",
"severity": 6,
"timeframe": {
"start": "2023-03-09T12:41:33.000000",
"end": "2023-03-09T12:41:33.000000"
},

"attributes": {},
"created_at": "2023-03-09T12:41:33.000000",
"description": "A description",
"main_entity": {
"id": "an id",
"type": "ExternalUser"
},
"account_name": "test account",
"cloud_provider": "aws",
},
"event_datetime": "2023-03-09T12:41:33.000000",
"created": "2023-03-09T12:41:33.000000",
"severity": 8,
"account": {
"name": "123456789012",
"display_name": "test account",
"cloud_provider": "aws"
}
}
]


@patch('Gem.GemClient._generate_token', return_value=mock_auth_token)
Expand Down

0 comments on commit 0c7a10b

Please sign in to comment.