bancaditalia / black-it

Black-box abm calibration kit by the Bank of Italy
https://bancaditalia.github.io/black-it/
GNU Affero General Public License v3.0
42 stars 2 forks source link

missing fixture data for tests/test_examples/test_sir_python.py? #90

Open muxator opened 3 weeks ago

muxator commented 3 weeks ago

The test test_sir_w_breaks() assumes that a file named tests/fixtures/data/test_sir_w_breaks_python.npy is committed in the repo, but the file is not there:

https://github.com/bancaditalia/black-it/blob/01593e7111f7d3fa05eff0c146274c5f535dcd68/tests/test_examples/test_sir_python.py#L59-L63

tests/test_examples/test_sir_python.py was introduced in d7a3e849cd4a (@marcofavoritobi). It contained two tests:

muxator commented 3 weeks ago

Discovered while working at #89.

Test execution fails with (ephemeral log: https://github.com/bancaditalia/black-it/actions/runs/10880576538/job/30187693768?pr=89#step:6:591):

E      FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/black-it/black-it/tests/fixtures/data/test_sir_w_breaks_python.npy'