Normalize test name by removing browser suffix for aggregation.
(nodeid: str)
| 121 | |
| 122 | |
| 123 | def _normalize_test_name(nodeid: str) -> str: |
| 124 | """Normalize test name by removing browser suffix for aggregation.""" |
| 125 | for browser in _BROWSERS: |
| 126 | suffix = f"[{browser}]" |
| 127 | if nodeid.endswith(suffix): |
| 128 | return nodeid[: -len(suffix)] |
| 129 | return nodeid |
| 130 | |
| 131 | |
| 132 | def _sort_key(item: dict[str, Any]) -> tuple[int, int]: |
no outgoing calls
no test coverage detected
searching dependent graphs…