Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unneeded variable
Signed-off-by: Cody Lin <codyl@twitter.com>
  • Loading branch information
Cody Lin committed Jun 19, 2021
commit 41e69a79a7662fd30903e2ac236cff0c3e7556fa
5 changes: 3 additions & 2 deletions sdk/python/tests/test_data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def test_existent_bq_source(simple_dataset_1):
@pytest.mark.integration
def test_nonexistent_bq_source():
client = bigquery.Client()
table_ref = "project.dataset.nonexistent_table"

with pytest.raises(NameError):
nonexistent_bq = BigQuerySource(table_ref=table_ref, event_timestamp_column="")
nonexistent_bq = BigQuerySource(
table_ref="project.dataset.nonexistent_table", event_timestamp_column=""
)