(case_type, additional_case_types=None)
return [case_type] + sorted(additional_types)
Utility to provide consistent order of case types in suite files.
Utility to provide consistent order of case types in suite files.
Utility to provide consistent order of case types in suite files .
def get_ordered_case_types(case_type, additional_case_types=None):
    """Utility to provide consistent order of case types in suite files."""
    additional_case_types = additional_case_types or []
    additional_types = set(additional_case_types) - {case_type}
    return [case_type] + sorted(additional_types)
def get_ordered_case_types ( case_type , additional_case_types = None ) : additional_case_types = additional_case_types or [ ] additional_types = set ( additional_case_types ) - { case_type } return [ case_type ] + sorted ( additional_types )