(dir_server)
| 60 | |
| 61 | |
| 62 | def test_simple(dir_server): |
| 63 | fn = files[0] |
| 64 | f = open_files(root + fn)[0] |
| 65 | with f as f: |
| 66 | data = f.read() |
| 67 | with open(os.path.join(dir_server, fn), "rb") as expected: |
| 68 | assert data == expected.read() |
| 69 | |
| 70 | |
| 71 | def test_loc(dir_server): |