Skip to content

Commit

Permalink
add extra assert
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Nov 15, 2024
1 parent b0ae91d commit e07d6c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flows/ray_result_storage_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def my_flow():
f"Expected exactly two files in {tmp_path}, "
f"found {len(found_files)}: {found_files!r}"
)
assert any(
f.name == "test-key" for f in found_files
), f"Expected to find 'test-key' in {found_files!r}"

print("Result storage location test passed!")
finally:
Expand Down

0 comments on commit e07d6c2

Please sign in to comment.