-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use AnonymizedFaker
for primary keys
#1841
Conversation
AnonymizedFaker
for primary key columnsAnonymizedFaker
for primary keys
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1841 +/- ##
=======================================
Coverage 97.32% 97.32%
=======================================
Files 50 50
Lines 4821 4823 +2
=======================================
+ Hits 4692 4694 +2
Misses 129 129 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add a test for this as well?
I can't write a test which actually verifies the logic, since that requires SDV-Enterprise. I can add a unit test that runs through the logic though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thanks for addressing!
@@ -1496,6 +1496,40 @@ def test__create_config_with_address_columns(self): | |||
} | |||
assert config == expected_config | |||
|
|||
def test__create_config_with_contextual_column_as_primary_key(self): | |||
"""Test it when a conextual column is a primary key.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: conextual -> contextual
CU-86azdzv1n, Resolve #1807.