Page MenuHomec4science

zeo_test.py
No OneTemporary

File Metadata

Created
Sun, Jul 14, 14:23

zeo_test.py

#!/usr/bin/env python3
import subprocess
def _run(cmd):
print(cmd)
ret = subprocess.call(cmd, cwd='../example', shell=True)
assert ret == 0
def test_psql():
_run('createDB.py --host yop --study test --truerun --yes')
_run('createJobs.py --host yop --study test --truerun --yes')
_run('createRuns.py --host yop --study test --machine_name black --nproc 1 --run_name test --truerun')
_run('getRunInfo.py --host yop --study test --truerun')
_run('launchRuns.py --host yop --study test --outpath /tmp/ --truerun')
_run('canYouDigIt.py --host yop --study test --list_quantities')
_run('canYouDigIt.py --host yop --study test --quantity ekin --fileout tmp.pdf')
_run('post_treatment.py --host yop --study test --quantity ekin --fileout tmp.pdf')

Event Timeline