Skip to content

test(sell): align TestSellInference_Flags with --price default removal#483

Open
bussyjd wants to merge 1 commit into
mainfrom
test/sell-inference-flag-default-align
Open

test(sell): align TestSellInference_Flags with --price default removal#483
bussyjd wants to merge 1 commit into
mainfrom
test/sell-inference-flag-default-align

Conversation

@bussyjd
Copy link
Copy Markdown
Collaborator

@bussyjd bussyjd commented May 12, 2026

Summary

Follow-up to #470 — that PR removed the hardcoded `"0.001"` default from the `--price` flag so `--per-mtok` / `--per-request` can take effect when `--price` is not passed. The flag-defaults table test still asserted the old default and now breaks on main.

Update `TestSellInference_Flags` to expect empty string, matching the post-#470 behavior.

Test plan

  • `go test ./cmd/obol -run TestSellInference_Flags` green
  • `go test ./cmd/obol ./internal/x402 ./internal/inference ./internal/tunnel ./internal/serviceoffercontroller` all green

PR #470 removed the hardcoded "0.001" default from the --price flag so
that --per-mtok / --per-request can take effect when --price is not
passed. The flag-defaults table test still asserted the old default
"0.001" and broke on merge. Update it to expect empty string, matching
the post-#470 behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant