def test_parsl_slurm_cfg(): import os parsl = pytest.importorskip("parsl", minversion="0.7.2") x509_proxy = 'x509up_u%s' % (os.getuid()) fname = '/tmp/%s' % x509_proxy with open(fname, 'w+'): os.utime(fname, None) from coffea.processor.parsl.slurm_config import slurm_config test = slurm_config()
def test_parsl_slurm_cfg(): pytest.importorskip("parsl", minversion="0.7.2") import os x509_proxy = "x509up_u%s" % (os.getuid()) fname = "/tmp/%s" % x509_proxy with open(fname, "w+"): os.utime(fname, None) from coffea.processor.parsl.slurm_config import slurm_config print(slurm_config())