Skip to content

Commit

Permalink
QA
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-torres-marroquin committed Jan 13, 2025
1 parent 58d0f26 commit 04bea21
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2018,7 +2018,6 @@ def test_put_datahub_connection_config_secrets(
payload = {
"datahub_server_url": "https://datahub.example.com",
"datahub_token": "test",
"frequency": "weekly",
}
resp = api_client.put(
url + "?verify=False",
Expand All @@ -2035,7 +2034,6 @@ def test_put_datahub_connection_config_secrets(
assert datahub_connection_config_no_secrets.secrets == {
"datahub_server_url": "https://datahub.example.com",
"datahub_token": "test",
"frequency": "weekly",
}
assert datahub_connection_config_no_secrets.last_test_timestamp is None
assert datahub_connection_config_no_secrets.last_test_succeeded is None
Expand Down Expand Up @@ -2071,7 +2069,6 @@ def test_put_datahub_connection_config_secrets_default_frequency(
assert datahub_connection_config_no_secrets.secrets == {
"datahub_server_url": "https://datahub.example.com",
"datahub_token": "test",
"frequency": "daily",
}
assert datahub_connection_config_no_secrets.last_test_timestamp is None
assert datahub_connection_config_no_secrets.last_test_succeeded is None
Expand All @@ -2088,7 +2085,7 @@ def test_put_datahub_connection_config_secrets_missing_url(
"""
url = f"{V1_URL_PREFIX}{CONNECTIONS}/{datahub_connection_config_no_secrets.key}/secret"
auth_header = generate_auth_header(scopes=[CONNECTION_CREATE_OR_UPDATE])
payload = {"datahub_token": "test", "frequency": "weekly"}
payload = {"datahub_token": "test"}
resp = api_client.put(
url + "?verify=False",
headers=auth_header,
Expand All @@ -2114,7 +2111,6 @@ def test_put_datahub_connection_config_secrets_missing_token(
auth_header = generate_auth_header(scopes=[CONNECTION_CREATE_OR_UPDATE])
payload = {
"datahub_server_url": "https://datahub.example.com",
"frequency": "weekly",
}
resp = api_client.put(
url + "?verify=False",
Expand Down

0 comments on commit 04bea21

Please # to comment.