Skip to content

Commit

Permalink
Fix test for diverging as_uri implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Apr 12, 2024
1 parent c33684c commit 798ce6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_local_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ def test_watchdog_generator_with_protocol(tmp_path, patched_local_events): # no
storage_options=storage_options)
path, metadata = next(generator)

assert path.as_uri() == "ssh://" + filename
assert path.as_uri().startswith("ssh://")
assert path.as_uri().endswith(filename)
assert path.protocol == protocol
assert path.storage_options == storage_options
assert metadata["product"] == "foo"
Expand Down

0 comments on commit 798ce6c

Please sign in to comment.