(s3, s3so)
| 240 | |
| 241 | |
| 242 | def test_open_files_write(s3, s3so): |
| 243 | paths = ["s3://" + test_bucket_name + "/more/" + f for f in files] |
| 244 | fils = open_files(paths, mode="wb", **s3so) |
| 245 | for fil, data in zip(fils, files.values()): |
| 246 | with fil as f: |
| 247 | f.write(data) |
| 248 | sample, values = read_bytes( |
| 249 | "s3://" + test_bucket_name + "/more/test/accounts.*", **s3so |
| 250 | ) |
| 251 | results = compute(*concat(values)) |
| 252 | assert set(files.values()) == set(results) |
| 253 | |
| 254 | |
| 255 | def test_read_bytes(s3, s3so): |
nothing calls this directly
no test coverage detected