Skip to content

Commit

Permalink
Address pr review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
treff7es committed Jan 16, 2025
1 parent cb1bb11 commit f9279de
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion metadata-ingestion/tests/unit/test_tableau_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def test_optimize_query_filter_handles_no_duplicates():
assert result[c.PROJECT_NAME_WITH_IN] == ["project1", "project2"]


def testTableaUpstreamReference():
def test_tableau_upstream_reference():
d = {
"id": "7127b695-3df5-4a3a-4837-eb0f4b572337",
"name": "TABLE1",
Expand All @@ -268,3 +268,9 @@ def testTableaUpstreamReference():
assert ref.schema == "SCHEMA1"
assert ref.table == "TABLE1"
assert ref.connection_type == "snowflake"

try:
ref = TableauUpstreamReference.create(None)
assert False, "TableauUpstreamReference.create with None should have raised exception"
except ValueError:
assert True

0 comments on commit f9279de

Please sign in to comment.