test(e2e): drop misleading skip comment on require_successful_call

require_successful_call fails hard, it does not skip; the trailing
comment was factually wrong. The function name already states intent,
so the comment is removed in both per-model and tag budget helpers.
This commit is contained in:
mateo-berri 2026-06-20 05:54:43 +00:00
parent dcecafa9b5
commit 3908c4eda2
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ FREE_MODEL = "gemini-2.5-flash"
def _call(client: BudgetClient, key: str, model: str):
result = client.chat(key, model, f"hi {unique_marker()}", max_tokens=16)
if not result.ok and not is_budget_block(result):
require_successful_call(result) # non-budget error -> skip
require_successful_call(result)
return result

View file

@ -29,7 +29,7 @@ def _tagged_call(client: BudgetClient, key: str, tag: str):
max_tokens=16,
)
if not result.ok and not is_budget_block(result):
require_successful_call(result) # non-budget error -> skip
require_successful_call(result)
return result