summaryrefslogtreecommitdiff
path: root/tests.py
Commit message (Collapse)AuthorAgeFilesLines
* add test for replacing missing objStefan Kögl2013-07-121-0/+6
|
* test for repace outside of listStefan Kögl2013-07-121-1/+4
|
* add test for replaceing whole document by "add"Stefan Kögl2013-07-121-0/+6
|
* add various testsStefan Kögl2013-07-121-0/+32
|
* test equality of patch operations to other objsStefan Kögl2013-07-121-0/+6
|
* test some invalid inputsStefan Kögl2013-07-111-0/+17
|
* test __str__() and to_string()Stefan Kögl2013-07-111-0/+7
|
* add test for comparing patches to other typesStefan Kögl2013-07-091-0/+7
|
* rework coverage calculation for coveralls.ioStefan Kögl2013-07-081-23/+0
|
* Fixed replacing whole documentWilliam Kral2013-06-231-0/+5
| | | | | | | | - json pointer to_last operation returns None for the part in the case that it is a whole document pointer - json patch now checks to see if the part is None and simply returns the value to replace the document - Added a test to verify the fix
* use unicode literals and update testsStefan Kögl2013-04-131-0/+2
|
* add missing assert in test_append()Stefan Kögl2012-12-171-0/+1
|
* fix incorrect JsonPatch.__hash__(), fixes #11Stefan Kögl2012-12-141-7/+19
|
* add coverage to testsStefan Kögl2012-11-151-3/+42
|
* use jsonpointer, update to current spec draftStefan Kögl2012-11-151-0/+14
|
* implement __has__, __eq__ for JsonPatch, PatchOperationStefan Kögl2012-09-281-0/+16
|
* use new (more verbose) syntax from spec draft 5Stefan Kögl2012-09-281-23/+23
|
* update "test" behaviour according to latest specStefan Kögl2012-09-171-1/+29
|
* "copy" operation should copy by value, not by reference, fixes #8Stefan Kögl2012-09-141-0/+12
|
* add "copy" operation, fixes #7Stefan Kögl2012-09-111-0/+14
|
* ref current spec, add its new test caseStefan Kögl2012-09-051-0/+10
| | | | | | | | the updated spec [1] didn't change anything that would make a new version of python-json-patch necessary. This commit only updates the reference to the current version, and adds a new example [1] http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-03
* Add forgotten test case.Alexander Shorin2012-07-151-0/+7
|
* Let apply_patch to handle patch as JSON-encoded string.Alexander Shorin2012-06-161-0/+8
|
* Revert to original apply_patch() behavior and make f3f3410 changes optional.Alexander Shorin2012-01-051-23/+50
|
* Add make_patch function to generate JsonPatch by comparing of two documents.Alexander Shorin2011-12-251-0/+29
|
* Rework tests.Alexander Shorin2011-12-251-29/+58
|
* compatibility with Python 2.6+ and Python 3.xv0.1Stefan Kögl2011-06-231-2/+3
|
* add test.py to run doctestsStefan Kögl2011-06-201-0/+43