Skip Menu |
 

Subject: jsonwalker.py test fails
Running make check-pytests in the tests folder fails in jsonwalker.py

PYTHONPATH=../../src/util VALGRIND="" python
../../src/tests/jsonwalker.py -d ../../src/tests/au_dict.json \
-i au.log
Traceback (most recent call last):
File "../../src/tests/jsonwalker.py", line 107, in <module>
defaults = cjson.decode(f.read())
cjson.DecodeError: expecting ',' or '}' at position 529
Makefile:727: recipe for target 'check-pytests' failed
make: *** [check-pytests] Error 1
Has been sent as a pull request.
From: ghudson@mit.edu
Subject: git commit

Fix a typo that causes the jsonwalker test to fail

In the au_dict.json file that is used for testing jsonwalker, there is
a comma missing that causes cjson 1.1 to throw an exception. This
causes the python tests to fail. Adding the comma fixes the crash and
allows the test to finish successfully.

https://github.com/krb5/krb5/commit/d7fcd6d068f61a209a2c363f08544db750ff3522
Author: Sarah Day <sarahday@mit.edu>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: d7fcd6d068f61a209a2c363f08544db750ff3522
Branch: master
src/tests/au_dict.json | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)