-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix(ingest/tableau): Fix TableauUpstream create check #12320
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
... and 1508 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
@@ -247,3 +248,23 @@ def test_optimize_query_filter_handles_no_duplicates(): | |||
assert len(result) == 2 | |||
assert result[c.ID_WITH_IN] == ["id1", "id2"] | |||
assert result[c.PROJECT_NAME_WITH_IN] == ["project1", "project2"] | |||
|
|||
|
|||
def testTableaUpstreamReference(): |
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.
following snake case strategy...
def testTableaUpstreamReference(): | |
def test_tableau_upstream_reference(): |
"description": "", | ||
"columnsConnection": {"totalCount": 0}, | ||
} | ||
ref = TableauUpstreamReference.create(d) |
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.
May a test case for TableauUpstreamReference.create(None)
be added?
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.
LGTM
Just a couple of minor comments
Checklist