diff --git a/tests/test_interfere_base.py b/tests/test_interfere_base.py index 2fb622f..a00297a 100644 --- a/tests/test_interfere_base.py +++ b/tests/test_interfere_base.py @@ -1,10 +1,13 @@ +import pathlib import numpy as np import qpretrieve +data_path = pathlib.Path(__file__).parent / "data" + def test_interfere_base_best_interface(): - edata = np.load("./data/hologram_cell.npz") + edata = np.load(data_path / "hologram_cell.npz") holo = qpretrieve.OffAxisHologram(data=edata["data"]) assert holo.ff_iface.is_available