(file_path, json_object)
| 350 | |
| 351 | |
| 352 | def _read_name(file_path, json_object): |
| 353 | name = json_object.get('name') |
| 354 | if not name: |
| 355 | name = _build_name_from_path(file_path) |
| 356 | |
| 357 | return name.strip() |
| 358 | |
| 359 | |
| 360 | def _build_name_from_path(file_path): |
no test coverage detected