Closed
Bug 723393
Opened 13 years ago
Closed 13 years ago
use WebTest's put_json() and post_json() methods
Categories
(Cloud Services Graveyard :: Server: Sync, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rfkelly, Unassigned)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
23.07 KB,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
Current test code uses app.put() and app.post() and winds up sending JSON data with a content-type of "application/x-www-form-urlencoded". This breaks OAuth signature calculation.
Attached patch changes it to use the put_json() and post_json() convenience methods, which do the right thing in less code.
Reporter | ||
Updated•13 years ago
|
Attachment #593714 -
Flags: review?(telliott)
Comment 1•13 years ago
|
||
Comment on attachment 593714 [details] [diff] [review]
patch to use put_json() and post_json() methods
Nice. Much cleaner.
Attachment #593714 -
Flags: review?(telliott) → review+
Reporter | ||
Comment 2•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [qa-]
Updated•2 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•