[e988c2]: / tests / functional / test_dump_example_data.py

Download this file

9 lines (6 with data), 260 Bytes

1
2
3
4
5
6
7
8
import contextlib
def test_dump_example_data(call_cli, tmp_path):
with contextlib.chdir(tmp_path):
call_cli("dump-example-data")
filenames = [path.name for path in (tmp_path / "example-data").iterdir()]
assert "patients.csv" in filenames