...
If the suite definition is in a text file::
Code Block |
---|
|
$ ecflow_client --load=test.def check_only |
...
Code Block |
---|
language | py |
---|
title | Check txt definition using ecflow python API |
---|
|
import ecflow
defs = |
...
...
theCheckValue = defs.check(); |
...
assert len(theCheckValue) != |
...
0, "Error in expression,limits,etc," + theCheckValue |
If the suite definition is built using python api.
...
Code Block |
---|
language | py |
---|
title | Check definition built using ecflow Python API |
---|
|
import ecflow
defs = ecflow |
...
...
...
...
suite.add_task("t1").add_trigger("t2 == active)") # missing bracket |
...
...
...
...
...
",theCheckValue)
assert len(theCheckValue) != |
...
0, "Expected Error: mis-matched brackets in expression." |
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | ~usa |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "ecflow-faqs" and label = "definitions" and type = "page" and space = "UDOC" |
---|
labels | kb-how-to-article |
---|
|
...