Skip to content

Commit 20228cd

Browse files
committed
chore: fixed tests
1 parent dd45f54 commit 20228cd

5 files changed

Lines changed: 4 additions & 4 deletions

tests/chronicle/soar/integration/test_integration_instances_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_integration_instances_crud_workflow():
3333
3434
TODO: Remove 401 skip logic once SOAR IAM role issue is fixed.
3535
"""
36-
client = SecOpsClient()
36+
client = SecOpsClient(service_account_info=SERVICE_ACCOUNT_JSON)
3737
chronicle = client.chronicle(**CHRONICLE_CONFIG)
3838

3939
integration_name = None
@@ -157,7 +157,7 @@ def test_get_default_integration_instance():
157157
158158
TODO: Remove 401 skip logic once SOAR IAM role issue is fixed.
159159
"""
160-
client = SecOpsClient()
160+
client = SecOpsClient(service_account_info=SERVICE_ACCOUNT_JSON)
161161
chronicle = client.chronicle(**CHRONICLE_CONFIG)
162162

163163
try:

tests/chronicle/soar/integration/test_integrations_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_integrations_crud_workflow():
3333
3434
TODO: Remove 401 skip logic once SOAR IAM role issue is fixed.
3535
"""
36-
client = SecOpsClient()
36+
client = SecOpsClient(service_account_info=SERVICE_ACCOUNT_JSON)
3737
chronicle = client.chronicle(**CHRONICLE_CONFIG)
3838

3939
integration_name = None

tests/chronicle/soar/integration/test_marketplace_integrations_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_marketplace_integrations_workflow():
3232
3333
TODO: Remove 401 skip logic once SOAR IAM role issue is fixed.
3434
"""
35-
client = SecOpsClient()
35+
client = SecOpsClient(service_account_info=SERVICE_ACCOUNT_JSON)
3636
chronicle = client.chronicle(**CHRONICLE_CONFIG)
3737

3838
integration_name = None

tests/cli/soar/test_integration_instances_integration.py renamed to tests/cli/soar/test_integration_instances_cli_integration.py

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)