Skip to content

Commit

Permalink
chore: update account args
Browse files Browse the repository at this point in the history
  • Loading branch information
dvarasani-crest committed Sep 6, 2024
1 parent d707861 commit 6de3717
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/ui/test_splunk_ta_example_addon_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def add_account(ucc_smartx_rest_helper):
ucc_smartx_rest_helper=ucc_smartx_rest_helper, open_page=False
)
url = account._get_account_endpoint()
kwargs = ACCOUNT_CONFIG
kwargs = copy.deepcopy(ACCOUNT_CONFIG)
kwargs["example_file"] = "Example file content"
yield account.backend_conf.post_stanza(url, kwargs)


Expand All @@ -74,6 +75,7 @@ def add_multiple_account(ucc_smartx_rest_helper):
for i in range(12):
kwargs = copy.deepcopy(ACCOUNT_CONFIG)
kwargs["name"] = kwargs["name"] + str(i)
kwargs["example_file"] = "Example file content"
account.backend_conf.post_stanza(url, kwargs)


Expand Down Expand Up @@ -1109,7 +1111,7 @@ def test_account_edit_backend_validation(
"disabled": False,
"password": "TestEditPassword",
"token": "TestEditToken",
"example_file": ACCOUNT_CONFIG["example_file"],
"example_file": "Example file content",
}

@pytest.mark.execute_enterprise_cloud_true
Expand Down Expand Up @@ -1142,7 +1144,7 @@ def test_account_clone_backend_validation(
"disabled": False,
"password": "TestEditPassword",
"token": "TestEditToken",
"example_file": ACCOUNT_CONFIG["example_file"],
"example_file": "Example file content",
}

@pytest.mark.execute_enterprise_cloud_true
Expand Down

0 comments on commit 6de3717

Please sign in to comment.