| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Improve hypothesis test error message | Stefan Kögl | 2018-04-02 | 1 | -1/+3 |
| | | |||||
| * | Prefer Python3 when distinguishing str/unicode | Stefan Kögl | 2017-12-31 | 1 | -4/+4 |
| | | |||||
| * | Merge branch 'property-tests' of ↵ | Stefan Kögl | 2017-12-31 | 1 | -0/+36 |
| |\ | | | | | | | https://github.com/mithrandi/python-json-patch into mithrandi-property-tests | ||||
| | * | Fix 3.2 compat. | Tristan Seligmann | 2017-07-06 | 1 | -2/+8 |
| | | | |||||
| | * | Add explicit example. | Tristan Seligmann | 2017-07-06 | 1 | -0/+2 |
| | | | |||||
| | * | Tolerate Hypothesis being missing (no 2.6, 3.2, or 3.3 support). | Tristan Seligmann | 2017-07-06 | 1 | -19/+24 |
| | | | |||||
| | * | Don't generate NaNs. | Tristan Seligmann | 2017-07-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | JSON doesn't actually allow these (despite the json module in Python happily serializing / parsing 'nan'), and they make assertEqual fail since they're not equal to anything, including themselves. | ||||
| | * | Add property based test. | Tristan Seligmann | 2017-07-06 | 1 | -0/+23 |
| | | | |||||
| * | | Remove extraneous 'value' field for op:remove (#76) | Brian Rosmaita | 2017-12-04 | 1 | -2/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | RFC 6902 section 4.2 [0] does not define a 'value' field for the 'remove' operation. The commit "Merge _op_base classes into PatchOperation classes" [1] introduced a 'value' field in _item_removed() in the DiffBuilder class. This patch removes the 'value' field from the 'remove' operation, adds a new test, and revises some other tests. [0] https://tools.ietf.org/html/rfc6902#section-4.2 [1] https://github.com/stefankoegl/python-json-patch/commit/03aa14e8209d59522476726d55bfabf86a28929e | ||||
| * | | Add test case for issue reported in #41 | Stefan Kögl | 2017-11-25 | 1 | -0/+10 |
| | | | |||||
| * | | Add test case for issue reported in #74 | Stefan Kögl | 2017-11-25 | 1 | -0/+11 |
| | | | |||||
| * | | Improve optimizations | Stefan Kögl | 2017-09-10 | 1 | -4/+11 |
| | | | |||||
| * | | Re-enable previously disabled optimization tests | Stefan Kögl | 2017-09-10 | 1 | -6/+2 |
| | | | |||||
| * | | Remove trailing whitespace | Stefan Kögl | 2017-09-10 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #65 from thunderstruck47/master | Stefan Kögl | 2017-09-10 | 1 | -1/+9 |
| |\ \ | | | | | | | fixing array diff bug (issue #30) | ||||
| | * | | added a test case for issue #30 | thunderstruck47 | 2017-07-26 | 1 | -1/+9 |
| | |/ | |||||
| * | | Disable tests for disabled optimizations | Stefan Kögl | 2017-09-03 | 1 | -2/+6 |
| | | | |||||
| * | | Merge branch 'list_tests@v1.13' into list_tests | Stefan Kögl | 2017-09-03 | 1 | -7/+48 |
| |\ \ | |/ |/| | | | https://github.com/selurvedu/python-json-patch | ||||
| | * | Merge branch 'list_tests@v1.9' into list_tests@v1.13 | selurvedu | 2016-04-08 | 1 | -7/+48 |
| | |\ | | | | | | | | | | | | | Conflicts: tests.py | ||||
| | | * | Move list-related testcases into separate class | selurvedu | 2016-04-08 | 1 | -0/+4 |
| | | | | |||||
| | | * | Update tests from ea80865 to run on Python 3.2 | selurvedu | 2016-04-08 | 1 | -8/+8 |
| | | | | |||||
| | | * | added error-prone cases to default tests | Stas Erema | 2016-04-08 | 1 | -0/+32 |
| | | | | |||||
| | | * | Allow longer patches in test_use_move_... | selurvedu | 2016-04-08 | 1 | -2/+3 |
| | | | | |||||
| | | * | Extend tests that check list patching | selurvedu | 2016-04-08 | 1 | -7/+11 |
| | | | | |||||
| * | | | don't apply patch optimization when it's incorrect | Kostya | 2017-04-27 | 1 | -2/+11 |
| | | | | |||||
| * | | | Fix: python 3.2 tests | kostya | 2017-03-08 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fix: optimization bugs #55, #54, add more tests | kostya | 2017-03-08 | 1 | -23/+87 |
| | | | | |||||
| * | | | Fix KeyError in add/remove optimization | Kirill Goldshtein | 2016-05-04 | 1 | -0/+9 |
| |/ / | |||||
| * | | Remove import of ``pudb`` | Stefan Kögl | 2016-02-13 | 1 | -2/+0 |
| | | | |||||
| * | | Optimize "deep" ``replace`` operation, fixes #36 | Stefan Kögl | 2016-02-13 | 1 | -0/+18 |
| | | | |||||
| * | | Add failing test for #40 | Stefan Kögl | 2015-11-03 | 1 | -0/+7 |
| | | | |||||
| * | | Allow running certain tests separately | selurvedu | 2015-10-24 | 1 | -19/+19 |
| | | | | | | | | | | | E.g. `python2 -m unittest tests.MakePatchTestCase.test_objects` or `nose tests:MakePatchTestCase.test_objects`. | ||||
| * | | Fix tests for Python 3.2v1.19v1.10 | Stefan Kögl | 2015-05-07 | 1 | -1/+1 |
| | | | |||||
| * | | Fix make_patch with unicode paths | Stefan Kögl | 2015-05-07 | 1 | -0/+8 |
| |/ | |||||
| * | raise JsonPatchException on missing patch attributes | Stefan Kögl | 2014-07-03 | 1 | -1/+3 |
| | | |||||
| * | Fix make_patch() when root is an array (fixes #28) | Stefan Kögl | 2014-06-24 | 1 | -0/+8 |
| | | |||||
| * | fix test for Python 3 | Stefan Kögl | 2014-03-22 | 1 | -1/+1 |
| | | |||||
| * | fix make_patch where obj keys contain "/", fixes #26 | Stefan Kögl | 2014-03-22 | 1 | -0/+7 |
| | | |||||
| * | Optimize jsonpatch.make_patch for lists. Fixes #24 | Alexander Shorin | 2014-03-22 | 1 | -0/+37 |
| | | | | | | | | | | This optimization tries to work only with really different lists subsequences and trying to preserve as much as possible common ones. This reduces overall of generated operations since now it's possible to simple insertions. Also, it converts pairs of remove-add operations into single replace (if target path is the same) or move (if target value is the same). | ||||
| * | Catch KeyError when accessing the sub-doc items | Lucas Alvares Gomes | 2014-02-03 | 1 | -0/+17 |
| | | |||||
| * | allow moving array items into other items in same array | Johan Forsberg | 2014-01-11 | 1 | -0/+6 |
| | | |||||
| * | add test for replacing missing obj | Stefan Kögl | 2013-07-12 | 1 | -0/+6 |
| | | |||||
| * | test for repace outside of list | Stefan Kögl | 2013-07-12 | 1 | -1/+4 |
| | | |||||
| * | add test for replaceing whole document by "add" | Stefan Kögl | 2013-07-12 | 1 | -0/+6 |
| | | |||||
| * | add various tests | Stefan Kögl | 2013-07-12 | 1 | -0/+32 |
| | | |||||
| * | test equality of patch operations to other objs | Stefan Kögl | 2013-07-12 | 1 | -0/+6 |
| | | |||||
| * | test some invalid inputs | Stefan Kögl | 2013-07-11 | 1 | -0/+17 |
| | | |||||
| * | test __str__() and to_string() | Stefan Kögl | 2013-07-11 | 1 | -0/+7 |
| | | |||||
| * | add test for comparing patches to other types | Stefan Kögl | 2013-07-09 | 1 | -0/+7 |
| | | |||||
| * | rework coverage calculation for coveralls.io | Stefan Kögl | 2013-07-08 | 1 | -23/+0 |
| | | |||||
