()
| 298 | |
| 299 | |
| 300 | def test_validate_node_labels(): |
| 301 | # Custom label starts with ray.io prefix |
| 302 | labels_dict = {"ray.io/accelerator-type": "A100"} |
| 303 | with pytest.raises(ValueError) as e: |
| 304 | validate_node_labels(labels_dict) |
| 305 | assert "This is reserved for Ray defined labels." in str(e) |
| 306 | |
| 307 | |
| 308 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…