Opened 13 years ago
Closed 12 years ago
#17797 closed New feature (fixed)
Added PATCH request functionality to django.test.client.Client
Reported by: | pfarmer | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Normal | Keywords: | Test |
Cc: | mmitar@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Whilst developing with tastypie I found I couldn't write unittests which make PATCH requests to my resources, so quickly scanning through I saw how easy it was to make a Client.patch function and have attached a patch which should apply cleanly to the current trunk (rev 17602).
Attachments (3)
Change History (8)
by , 13 years ago
Attachment: | django-test-client-PATCH.patch added |
---|
comment:1 by , 13 years ago
Needs documentation: | set |
---|---|
Needs tests: | set |
Triage Stage: | Unreviewed → Accepted |
by , 13 years ago
Attachment: | django-test-client-PATCH-docs.patch added |
---|
Patch for docs/topics/testing.txt to include Client.patch documentation.
by , 13 years ago
Attachment: | django-test-client-PATCH-tests.patch added |
---|
Basic testing for client.patch.
comment:2 by , 13 years ago
Needs documentation: | unset |
---|---|
Needs tests: | unset |
I've added patches for documentation and some basic testing, testing may need expanding.
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
django-test-client-PATCH.patch