Skip to content

make_mocked_request now accepts dict as headers#1073

Merged
asvetlov merged 2 commits intoaio-libs:masterfrom
argaen:issue-1068/make_mocked_request_accept_dict
Aug 15, 2016
Merged

make_mocked_request now accepts dict as headers#1073
asvetlov merged 2 commits intoaio-libs:masterfrom
argaen:issue-1068/make_mocked_request_accept_dict

Conversation

@argaen
Copy link
Copy Markdown
Member

@argaen argaen commented Aug 12, 2016

What do these changes do?

make_mocked_request accepts dict instance as headers arg

Related issue number

#1068

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

@codecov-io
Copy link
Copy Markdown

codecov-io commented Aug 12, 2016

Current coverage is 97.64% (diff: 100%)

Merging #1073 into master will increase coverage by 0.15%

@@             master      #1073   diff @@
==========================================
  Files            28         28          
  Lines          6532       6399   -133   
  Methods           0          0          
  Messages          0          0          
  Branches       1101       1085    -16   
==========================================
- Hits           6368       6248   -120   
+ Misses           88         79     -9   
+ Partials         76         72     -4   

Powered by Codecov. Last update b0231dc...8f8754a

:param headers: CIMultiDict with all request headers
:type headers: multidict.CIMultiDict
:param headers: dict with all request headers
:type headers: dict
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it can be multidict also. Technically the parameter is something acceptable by CIMultiDict ctor. Say, a list of pairs is also working.

@rutsky
Copy link
Copy Markdown
Member

rutsky commented Aug 15, 2016

LGTM, thanks!

@lock
Copy link
Copy Markdown

lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants