You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The releases of edgegrid-python to PyPI contain the sources for the test suite; however, test data is not installed. That means the tests can't actually work.
But it did not include testdata.json, so the tests aren't actually usable:
$ python3 -munittest akamai.edgegrid.test.test_edgegrid
E
======================================================================
ERROR: akamai.edgegrid.test.test_edgegrid (unittest.loader._FailedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/rmcgover/edgegrid-env/lib/python3.6/site-packages/akamai/edgegrid/test/test_edgegrid.py", line 222, in load_tests
return suite()
File "/home/rmcgover/edgegrid-env/lib/python3.6/site-packages/akamai/edgegrid/test/test_edgegrid.py", line 199, in suite
with open("%s/testdata.json" % mydir) as testdata:
FileNotFoundError: [Errno 2] No such file or directory: '/home/rmcgover/edgegrid-env/lib/python3.6/site-packages/akamai/edgegrid/test/testdata.json'
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
Steps to reproduce:
pip install edgegrid-python
Actual behavior:
Installs unusable tests
Expected behavior:
Either installs the tests plus everything needed to run them;
Or does not install tests at all
The text was updated successfully, but these errors were encountered:
Thank you once again. In previous release (1.2.0) we tried to solve this issue by including those resource files in MANIFEST.in. Unfortunately, due to not putting each of them in a separate line, they were not properly included in the release. This has been finally fixed in our latest release.
The releases of edgegrid-python to PyPI contain the sources for the test suite; however, test data is not installed. That means the tests can't actually work.
Example:
Create a virtualenv and install edgegrid-python:
Installation included akamai.edgegrid.test package:
But it did not include testdata.json, so the tests aren't actually usable:
Steps to reproduce:
Actual behavior:
Expected behavior:
The text was updated successfully, but these errors were encountered: