(keys, symbols, class_name=None)
| 26 | return ", ".join(sorted(list(keys))) |
| 27 | |
| 28 | def missing_some_of(keys, symbols, class_name=None): |
| 29 | if class_name is None: |
| 30 | class_name = "of [" + ", ".join(symbols) + "]" |
| 31 | missing = set(symbols).difference(keys) |
| 32 | if len(missing) > 0 and len(missing) != len(symbols): |
| 33 | warn("Layout includes some %s but not all, missing: %s" % ( |
| 34 | class_name, key_list_str(missing))) |
| 35 | |
| 36 | def missing_required(keys, symbols, msg): |
| 37 | missing = set(symbols).difference(keys) |
no test coverage detected