Skip to content

Commit

Permalink
fix: change file path for glob file does not exist test
Browse files Browse the repository at this point in the history
  • Loading branch information
conradsoon committed Oct 22, 2024
1 parent 80fbfb3 commit 3d0a066
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/integration/io/parquet/test_reads_s3_minio.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ def test_minio_parquet_read_no_files(minio_io_config):
fs.touch("s3://data-engineering-prod/foo/file.txt")

with pytest.raises(FileNotFoundError, match="Glob path had no matches:"):
daft.read_parquet("s3://data-engineering-prod/foo/**.parquet", io_config=minio_io_config)
# Need to have a special character within the test path to trigger the matching logic
daft.read_parquet(
"s3://data-engineering-prod/foo/this-should-not-match-anything-and-this-file-should-not-exist-*.parquet",
io_config=minio_io_config,
)


@pytest.mark.integration()
Expand Down

0 comments on commit 3d0a066

Please sign in to comment.