From 04bea21de9766d7b4bfd0317d67b21693d08c087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Torres=20Marroqu=C3=ADn?= Date: Mon, 13 Jan 2025 12:59:52 -0600 Subject: [PATCH] QA --- .../api/v1/endpoints/test_connection_config_endpoints.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/ops/api/v1/endpoints/test_connection_config_endpoints.py b/tests/ops/api/v1/endpoints/test_connection_config_endpoints.py index 83fade38c0..3bffd68796 100644 --- a/tests/ops/api/v1/endpoints/test_connection_config_endpoints.py +++ b/tests/ops/api/v1/endpoints/test_connection_config_endpoints.py @@ -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", @@ -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 @@ -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 @@ -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, @@ -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",