MCPcopy
hub / github.com/dask/dask / test_simple

Function test_simple

dask/bytes/tests/test_http.py:55–62  ·  view source on GitHub ↗
(dir_server)

Source from the content-addressed store, hash-verified

53
54
55def test_simple(dir_server):
56 root = "http://localhost:8999/"
57 fn = files[0]
58 f = open_files(root + fn)[0]
59 with f as f:
60 data = f.read()
61 with open(os.path.join(dir_server, fn), "rb") as expected:
62 assert data == expected.read()
63
64
65def test_loc(dir_server):

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…