-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Move new get_or_create_fides_user_device_id_provided_identity and get_fides_user_device_id_provided_identity into a consent util. - Update copy paste error in get privacy preferences docstring.
- Loading branch information
Showing
9 changed files
with
106 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,6 @@ | |
from starlette.status import HTTP_200_OK, HTTP_403_FORBIDDEN | ||
from starlette.testclient import TestClient | ||
|
||
from fides.api.ops.api.v1.endpoints.consent_request_endpoints import ( | ||
_get_or_create_fides_user_device_id_provided_identity, | ||
) | ||
from fides.api.ops.api.v1.scope_registry import ( | ||
CONSENT_READ, | ||
CURRENT_PRIVACY_PREFERENCE_READ, | ||
|
@@ -1172,7 +1169,9 @@ def test_get_historical_preferences( | |
response_body["privacy_request_id"] | ||
== privacy_request_with_consent_policy.id | ||
) | ||
assert response_body["user_id"] == "[email protected]" | ||
assert response_body["email"] == "[email protected]" | ||
assert response_body["phone_number"] is None | ||
assert response_body["fides_user_device_id"] is None | ||
assert response_body["secondary_user_ids"] == { | ||
"ljt_readerID": "preference_history_test" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters