Merge lp:~jml/testtools/json_content into lp:~testtools-committers/testtools/trunk
Proposed by
Jonathan Lange
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 265 | ||||
Proposed branch: | lp:~jml/testtools/json_content | ||||
Merge into: | lp:~testtools-committers/testtools/trunk | ||||
Diff against target: |
120 lines (+30/-5) 4 files modified
testtools/content.py (+7/-2) testtools/content_type.py (+3/-1) testtools/tests/test_content.py (+8/-0) testtools/tests/test_content_type.py (+12/-2) |
||||
To merge this branch: | bzr merge lp:~jml/testtools/json_content | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Lange | Needs Fixing | ||
Martin Packman | Approve | ||
Review via email: mp+114905@code.launchpad.net |
Commit message
Add a JSON content helper.
Description of the change
Add a JSON content helper.
To post a comment you must log in.
Code looks good.
Why specify charset=utf-8? The usual form omits that, json is utf-8 only.
Note for self, testtools is 2.6 or later from 0.9.15, json is new in 2.6 stdlib.