Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F83260175
zeo_test.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Sep 16, 02:11
Size
789 B
Mime Type
text/x-python
Expires
Wed, Sep 18, 02:11 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20812552
Attached To
R3127 blackdynamite
zeo_test.py
View Options
#!/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
Log In to Comment