summaryrefslogtreecommitdiff
path: root/tests/test_jsonpath.py
Commit message (Collapse)AuthorAgeFilesLines
* don't clobber IDs if they existSimon Kelly2021-06-241-4/+4
| | | | | | If a field exists with the name of the `auto_id_field` it should be used as is without converting it to an AutoID. The auto ID functionality should only kick in if and ID field does not exist.
* test case for existing auto idSimon Kelly2021-06-241-0/+13
|
* Merge pull request #33 from abloomston/nullObjsKenn Knowles2016-12-171-1/+2
|\ | | | | Return empty result instead of crashing on index into None
| * added test for foo.[*] where foo is nullAdam Bloomston2015-10-011-1/+2
| |
* | Add tests and fixes for updateKenn Knowles2016-10-041-0/+62
|/
* * Fix TestJsonPath.test_hyphen_key on Python 2.6José Manuel Fardello2013-08-251-2/+2
| | | | | - Changed assertRaises in TestJsonPath.test_hyphen_key to 2.6 unittest syntax.
* * Allows the hyphen to be part of the field.José Manuel Fardello2013-08-241-0/+11
| | | | Allows IDs to contain a hyphen (but not to begin with one).
* Add tests for `parent` named operatorKenn Knowles2013-06-141-0/+4
|
* Switch @ for `this` since it is so common in field names (for example when ↵Kenn Knowles2013-03-271-10/+11
| | | | JSON is generated from XML)
* Support auto id and paths well for `$` operatorKenn Knowles2013-03-271-0/+48
|
* Remove set literals0.8Kenn Knowles2013-03-261-7/+7
|
* Python 2 & 3 supportKenn Knowles2013-03-261-7/+12
|
* More tests and fixes for SliceKenn Knowles2013-03-221-0/+8
|
* Fixes to IndexKenn Knowles2013-03-221-2/+5
|
* Fix error in descendant match for listKenn Knowles2013-03-221-1/+4
|
* Make auto ids work take present ids into account in useful waysKenn Knowles2013-03-221-3/+96
|
* Add auto idsKenn Knowles2013-03-151-5/+36
|
* Remove unused test for hack that is going to go in client not this libraryKenn Knowles2013-03-141-13/+0
|
* Get datum paths all checking outKenn Knowles2013-03-141-11/+54
|
* Add path followed info and restore previous test passingKenn Knowles2013-03-141-2/+13
|
* Enable iterators to be usable in places where lists are expectedKenn Knowles2013-02-151-0/+2
|
* Add AST and parser testsKenn Knowles2013-02-091-0/+42