Skip to content

Fixed #14611 -- Added query_params argument to RequestFactory and Client classes. - #17447

Merged
felixxm merged 1 commit into
django:mainfrom
knyghty:test-query-params
Nov 23, 2023
Merged

felixxm merged 1 commit into
django:mainfrom
knyghty:test-query-params

Conversation

@knyghty

@knyghty knyghty commented Nov 5, 2023

Copy link
Copy Markdown
Member

No description provided.

@knyghty
knyghty force-pushed the test-query-params branch 2 times, most recently from faab61c to a261b76 Compare November 5, 2023 18:00
Comment thread django/test/client.py Resolved
Comment thread docs/topics/testing/tools.txt Outdated

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.

versionchanged annotations are missing for every method.

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.

query_params=None is missing in AsyncClient and Client signatures and docs.

Comment thread django/test/client.py Resolved
Comment thread django/test/client.py Resolved
@felixxm

felixxm commented Nov 21, 2023

Copy link
Copy Markdown
Member

@knyghty Thanks 👍 We can keep both data and query_params for GET and HEAD. Do you have time to keep working on remaining comments (#17447 (comment), #17447 (comment))?

@knyghty

knyghty commented Nov 21, 2023

Copy link
Copy Markdown
Member Author

@felixxm Yes, this week I think, thanks 👍🏻

@knyghty

knyghty commented Nov 21, 2023

Copy link
Copy Markdown
Member Author

@felixxm these are both done now.

@felixxm felixxm self-assigned this Nov 21, 2023
Comment thread django/test/client.py Resolved
@felixxm felixxm changed the title Fixed #14611 -- Added query_params to TestClient and RequestFactory. Fixed #14611 -- Added query_params argument to RequestFactory and Client classes. Nov 23, 2023

@felixxm felixxm left a comment

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.

@knyghty Thanks 👍 I pushed missing documentation changes.

Comment thread docs/topics/testing/tools.txt Outdated

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.

query_params=None is missing in AsyncClient and Client signatures and docs.

Comment thread docs/topics/testing/tools.txt Outdated

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.

query_params is missing in the head() signature and docs.

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.

4 participants