hermes-agent/tests/hermes_cli/test_xai_provider_labels.py
teknium1 8f6109e493 test: purge low-value tests, lane py14 (360 removed)
Change-detectors, tautologies, source-reading tests, redundant duplicates,
mock-echo tests and dead/unrunnable tests. Per-test rationale in the lane
ledger (category + reason for every removal).
2026-09-23 03:15:26 -07:00

11 lines
373 B
Python

"""Regression tests for xAI provider label disambiguation."""
from hermes_cli.providers import get_label
def test_xai_oauth_provider_label_is_not_collapsed_to_api_key_label():
"""The model picker must distinguish xAI API-key and OAuth providers."""
assert get_label("xai-oauth") != get_label("xai")
assert get_label("grok-oauth") == get_label("xai-oauth")