(test)
| 3752 | retVal = copy.deepcopy(conf.tests) |
| 3753 | |
| 3754 | def priorityFunction(test): |
| 3755 | retVal = SORT_ORDER.FIRST |
| 3756 | |
| 3757 | if test.stype == PAYLOAD.TECHNIQUE.UNION: |
| 3758 | retVal = SORT_ORDER.LAST |
| 3759 | |
| 3760 | elif "details" in test and "dbms" in (test.details or {}): |
| 3761 | if intersect(test.details.dbms, Backend.getIdentifiedDbms()): |
| 3762 | retVal = SORT_ORDER.SECOND |
| 3763 | else: |
| 3764 | retVal = SORT_ORDER.THIRD |
| 3765 | |
| 3766 | return retVal |
| 3767 | |
| 3768 | if Backend.getIdentifiedDbms(): |
| 3769 | retVal = sorted(retVal, key=priorityFunction) |
nothing calls this directly
no test coverage detected
searching dependent graphs…