summaryrefslogtreecommitdiff
path: root/tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix invalid escape sequence (#50)Stefan Kögl2022-04-101-1/+1
|
* Add join method and / operatorBen Kehoe2022-02-201-0/+36
|
* Add __str__ and __repr__ methodsBen Kehoe2022-02-201-0/+44
|
* Support setting - for arraysBen Kehoe2022-02-201-0/+11
|
* Add test for get_parts (new method)Peterlits Zo2021-10-311-1/+22
|
* Perform input validation in JsonPoinervalidationStefan Kögl2017-10-291-0/+6
|
* Merge branch 'broad-exception-handling' of ↵Stefan Kögl2017-09-101-27/+71
|\ | | | | | | https://github.com/thekafkaf/python-json-pointer into thekafkaf-broad-exception-handling
| * Using the same handling for the case in which the doc is a mapping or an ↵kafkaf-2014-11-141-1/+2
| | | | | | | | object that support __getitem__(but not a sequence), Updated the tests
| * Removed the setUpClass method to support py26kafkaf-2014-11-141-41/+39
| |
| * Removed unrelated changes to the contains method, reverted the exception handlekafkaf-2014-11-141-1/+0
| |
| * Catching a broad exception to ensure the return of the default, added tests, ↵kafkaf-2014-11-051-4/+50
| | | | | | | | fixed a bug where obj.contains(obj) returned false, added test case
* | Fix Tests for Python 3.2Stefan Kögl2015-05-071-1/+3
| |
* | Fix UnicodeEncodeError with non-ASCII paths, fixes #18Stefan Kögl2015-05-071-0/+1
| |
* | Fix contains unexpected false returnkafkaf-2014-11-141-5/+13
|/
* Added tests for round-tripping pointers from paths to partsAlexander Dutton2014-03-261-0/+22
|
* Support for set_pointer and indexing arbitrary objects via ↵Christopher J. White2013-09-221-1/+109
| | | | __getitem__/__setitem__
* add tests for JsonPointer.to_last()Stefan Kögl2013-07-111-0/+19
|
* add test for out-of-bounds errorStefan Kögl2013-07-111-0/+4
|
* add test for JsonPointer.contains(other)Stefan Kögl2013-07-111-1/+10
|
* add test for invalid list indexStefan Kögl2013-07-111-1/+6
|
* add test for pointer string not starting with /Stefan Kögl2013-07-111-0/+10
|
* add test for comparing a pointer to another objectStefan Kögl2013-07-071-0/+3
|
* move coverage code from tests.py to makefileStefan Kögl2013-07-071-29/+2
|
* unambiguous array indices make pointers comparableStefan Kögl2013-01-061-1/+20
|
* reduce verbosity of test runsStefan Kögl2012-11-151-1/+1
|
* update jsonpointer to current specStefan Kögl2012-11-081-1/+9
| | | | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-05
* Fix compatibility with Python 2.5.Alexander Shorin2012-09-121-5/+5
| | | | | Emulate next(b, None) through for loop with single round. There wasn't print_function, while it really doesn't needed.
* update jsonpointer to current specv0.3Stefan Kögl2012-09-071-0/+35
| | | | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-04
* initial commitStefan Kögl2011-07-311-0/+44