def test_set_runnable(self):
        s = self.p.getRunnableStageIndex() # should be 0
        self.p.setStageFinished(s)
        s = self.p.getRunnableStageIndex()
        assert s == 1
make sure that it correctly updates runnable class
dataset/ETHPy150Open Mouse-Imaging-Centre/pydpiper/pydpiper_testing/test_simple_pipeline.py/TestSimplePipeline.test_set_runnable