def METHOD_NAME(self):
    """
    Test the subjobs complete
    """
    from GangaCore.GPI import jobs
    assert len(jobs) == 1
    assert len(jobs(0).subjobs) == TestSJSubmit.n_subjobs
    from GangaTest.Framework.utils import sleep_until_completed
    sleep_until_completed(jobs(0))
    for sj in jobs(0).subjobs:
        assert sj.status in ['completed']
    # Check that we can load the subjobs and that they are now in a complete status