fixed multibars

This commit is contained in:
2024-02-15 15:58:31 +01:00
parent 866f8cd2ff
commit a0d597723c
4 changed files with 37 additions and 10 deletions

View File

@@ -152,6 +152,11 @@ def test_zip_bundle(tmp_path: Path):
assert prop3.parameters.effective_area_file.path == new_aeff_path.name
assert prop3.parameters.effective_area_file.prefix == "zip"
assert (
DataFile(None, new_disp_path, None).load_bytes()
== prop3.parameters.dispersion_file.load_bytes()
)
with ZipFile(tmp_path / "file3.zip", "r") as zfile:
with zfile.open(new_aeff_path.name) as file:
assert file.read() == new_aeff_path.read_bytes()