Skip to content

test: avoid strip() on problem report Order key#584

Open
bdrung wants to merge 1 commit intocanonical:mainfrom
bdrung:test-avoid-strip
Open

test: avoid strip() on problem report Order key#584
bdrung wants to merge 1 commit intocanonical:mainfrom
bdrung:test-avoid-strip

Conversation

@bdrung
Copy link
Copy Markdown
Member

@bdrung bdrung commented Apr 21, 2026

The value for the Order key is of type ProblemReportValue which might not have the strip() method.

So avoid calling strip() to make the test more robust and allow adding more type hints to ProblemReport.

The value for the `Order` key is of type `ProblemReportValue` which
might not have the `strip()` method.

So avoid calling `strip()` to make the test more robust and allow adding
more type hints to `ProblemReport`.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.45%. Comparing base (be024b6) to head (b20466c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #584   +/-   ##
=======================================
  Coverage   84.45%   84.45%           
=======================================
  Files         104      104           
  Lines       20939    20939           
  Branches     3212     3212           
=======================================
  Hits        17683    17683           
  Misses       2816     2816           
  Partials      440      440           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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