Skip to content

Commit fc06ef8

Browse files
author
Jesse Whitehouse
committed
Expect operation to succeed
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
1 parent 713002d commit fc06ef8

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

tests/e2e/driver_tests.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -678,12 +678,9 @@ def test_staging_ingestion_life_cycle(self):
678678

679679
remove_query = f"REMOVE 'stage://tmp/{self.staging_ingestion_user}/tmp/11/15/file1.csv'"
680680

681-
682-
# Should raise an exception because REMOVE is not yet implemented
683-
with pytest.raises(Error):
684-
with self.connection() as conn:
685-
cursor = conn.cursor()
686-
cursor.execute(remove_query)
681+
with self.connection() as conn:
682+
cursor = conn.cursor()
683+
cursor.execute(remove_query)
687684

688685
os.remove(temp_path)
689686
os.remove(new_temp_path)

0 commit comments

Comments
 (0)