def METHOD_NAME(self):
    # check they get updated elsewhere
    from GangaCore.GPI import jobs, disableMonitoring, enableMonitoring
    disableMonitoring()
    j = jobs(0)
    XMLFileName = getXMLFile(j)
    last_update = stat(XMLFileName)
    j.submit()
    newest_update = stat(XMLFileName)
    from GangaTest.Framework.utils import sleep_until_completed
    enableMonitoring()
    can_assert = False
    if j.status in ['submitted', 'running']:
        can_assert = True
        sleep_until_completed(j, 60)
    final_update = stat(XMLFileName)
    assert newest_update.st_mtime > last_update.st_mtime
    # Apparently this requirement is a bad idea. This isn't implemented in 6.1.17 but should probably be in 6.1.18
    # if can_assert:
    #    assert final_update.st_mtime > newest_update.st_mtime
    # else:
    #    assert final_update.st_mtime == newest_update.st_mtime