def test_dependency(self):
        s = self.p.G.predecessors(10)
        print "S: " + str(s)
        assert s[0] == 9
make sure that random dependency is correct
dataset/ETHPy150Open Mouse-Imaging-Centre/pydpiper/pydpiper_testing/test_simple_pipeline.py/TestSimplePipeline.test_dependency