Skip to content

Commit 929fa28

Browse files
committed
tests: more asserts in reference test
1 parent da22d22 commit 929fa28

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

fsspec/implementations/tests/test_reference.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ def test_simple(server):
2828
h = fsspec.filesystem("http")
2929
fs = fsspec.filesystem("reference", fo=refs, fs=h)
3030

31+
assert {
32+
"protocol": h.protocol,
33+
"module": h.__class__.__module__,
34+
"name": h.__class__.__name__,
35+
} == {
36+
"protocol": "http",
37+
"module": "fsspec.implementations.http",
38+
"name": "HTTPFileSystem",
39+
}
40+
3141
assert fs.fss == {"http": h, None: h}
3242
assert fs.cat("a") == b"data"
3343
assert fs.fss == {"http": h, None: h}

0 commit comments

Comments
 (0)