stefankoegl / python-json-patch

Applying JSON Patches in Python
https://python-json-patch.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
459 stars 97 forks source link

unit test test_js_file fails when running it from pypi #82

Closed amoralej closed 6 years ago

amoralej commented 6 years ago

When try to run unit tests with the tarbal from https://pypi.io/packages/source/j/jsonpatch/jsonpatch-1.21.tar.gz:

ERROR: test_js_file (main.ApplyPatchTestCase)

Traceback (most recent call last): File "./tests.py", line 17, in test_js_file with open('./tests.js', 'r') as f: IOError: [Errno 2] No such file or directory: u'./tests.js'

Root cause is missing tests.js file from tarbal, could it be added to the package?

yurivict commented 6 years ago

I'm getting this too.

stefankoegl commented 6 years ago

Thanks for letting me know. This fix will be included in the next release.