(answer)
| 32 | |
| 33 | |
| 34 | def suites(answer): |
| 35 | if answer.get("decision") == "run_all": |
| 36 | return ["*"] |
| 37 | out = [] |
| 38 | for lane in answer.get("lanes") or []: |
| 39 | if lane.get("decision") == "run_all" or lane.get("suites") is None: |
| 40 | return ["*"] |
| 41 | out += [suite["suite"] for suite in lane["suites"]] |
| 42 | return sorted(set(out)) |
| 43 | |
| 44 | |
| 45 | def run_all(why): |