style: explicit assert on noop test (TQ001 zero-assert budget)

BerriAI/litellm CI's test-quality budget flagged
test_raise_if_missing_package_is_noop_when_present as a zero-assert
test (TQ001). Make the intent explicit: raise_if_missing_package()
must return None when the package IS installed.
This commit is contained in:
Conduct AI 2026-09-10 20:45:22 -05:00
parent ad779be901
commit 7f796fce9d
No known key found for this signature in database

View file

@ -206,4 +206,4 @@ def test_raise_if_missing_package_is_noop_when_present() -> None:
raise_if_missing_package,
)
raise_if_missing_package() # must not raise
assert raise_if_missing_package() is None