Closed ekaterinailin closed 6 years ago
Replace test_wrapper() in test_altai.py with tests that do the same on the different parts of the refurbished wrapper() function, once it takes FlareLightCurve objects instead of numpy.recarrays.
test_wrapper()
test_altai.py
wrapper()
FlareLightCurve
numpy.recarrays
from ..flarelc import FlareLightCurve def test_wrapper(): lc = FlareLightCurve(EPIC) assert lc == 'something' lc = lc.detrend() assert lc == [...]
Run a full integration test to make sure we can push a light curve through the pipeline from A to Z.
This one was split into different methods of FlareLightCurve, which are tested individually.
What needs to be created or improved?
Replace
test_wrapper()
intest_altai.py
with tests that do the same on the different parts of the refurbishedwrapper()
function, once it takesFlareLightCurve
objects instead ofnumpy.recarrays
.Can you provide an example?
What is the goal / expected behaviour?
Run a full integration test to make sure we can push a light curve through the pipeline from A to Z.