Skip to content

Commit

Permalink
fix(tests): Change secret name to avoid conflicts (datahub-project#9917)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunal-kankriya authored Feb 26, 2024
1 parent 5921a33 commit 14648f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions smoke-test/tests/privileges/test_privileges.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,21 +500,20 @@ def test_privilege_to_create_and_manage_policies():
_ensure_cant_perform_action(user_session, create_policy, "createPolicy")


@pytest.mark.skip(reason="Functionality and test needs to be validated for correctness")
@pytest.mark.dependency(depends=["test_healthchecks"])
def test_privilege_from_group_role_can_create_and_manage_secret():
(admin_user, admin_pass) = get_admin_credentials()
admin_session = login_as(admin_user, admin_pass)
user_session = login_as("user", "user")
secret_urn = "urn:li:dataHubSecret:TestSecretName"
secret_urn = "urn:li:dataHubSecret:TestName"

# Verify new user can't create secrets
create_secret = {
"query": """mutation createSecret($input: CreateSecretInput!) {\n
createSecret(input: $input)\n}""",
"variables": {
"input": {
"name": "TestSecretName",
"name": "TestName",
"value": "Test Secret Value",
"description": "Test Secret Description",
}
Expand Down

0 comments on commit 14648f4

Please sign in to comment.