Revision e118deb1
b/qa/qa_cluster.py | ||
---|---|---|
479 | 479 |
|
480 | 480 |
# Sanity checks |
481 | 481 |
assert len(ret_specs) > 0 |
482 |
good = ("min" in d and "std" in d and "max" in d for d in ret_specs) |
|
482 |
good = all("min" in d and "std" in d and "max" in d |
|
483 |
for d in ret_specs.values()) |
|
483 | 484 |
assert good, "Missing item in specs: %s" % ret_specs |
484 | 485 |
assert len(ret_policy) > 0 |
485 | 486 |
return (ret_policy, ret_specs) |
Also available in: Unified diff