Skip to content

Add headers argument to RequestTestCaseMixin.request method #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

yakky
Copy link
Member

@yakky yakky commented Jun 6, 2025

Description

RequestTestCaseMixin.request now accepts headers dict and pass it to RequestFactory

References

Fix #290

Checklist

  • I have read the contribution guide
  • Code lint checked via inv lint
  • changes file included (see docs)
  • Usage documentation added in case of new features
  • Tests added

@yakky yakky requested a review from protoroto June 6, 2025 09:26
Copy link

codecov bot commented Jun 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.30%. Comparing base (3ce2962) to head (fef062f).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #291   +/-   ##
========================================
  Coverage    92.30%   92.30%           
========================================
  Files           10       10           
  Lines          806      806           
  Branches       127      127           
========================================
  Hits           744      744           
  Misses          24       24           
  Partials        38       38           
Flag Coverage Δ
unittests 92.30% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

Allow to pass headers argument to RequestTestCaseMixin.request
2 participants