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 30, 2025
1 parent 2b5d868 commit 60d242d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Changes can also be flagged with a GitHub label for tracking purposes. The URL o
## [Unreleased](https://github.com/ethyca/fides/compare/2.54.0...main)

## Changed
- Added frequency field to DataHubSchema integration config [#XXXX](https://github.com/ethyca/fides/pull/XXXX)
- Added frequency field to DataHubSchema integration config [#5716](https://github.com/ethyca/fides/pull/5716)

## [2.53.0](https://github.com/ethyca/fides/compare/2.53.0...2.54.0)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2018,6 +2018,7 @@ 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 @@ -2034,6 +2035,7 @@ 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 @@ -2069,6 +2071,7 @@ 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 @@ -2085,7 +2088,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"}
payload = {"datahub_token": "test", "frequency": "weekly"}
resp = api_client.put(
url + "?verify=False",
headers=auth_header,
Expand All @@ -2111,6 +2114,7 @@ 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 60d242d

Please sign in to comment.