Closed jreadey closed 6 months ago
When running the tests from a codespace, the point selection test keeps failing due to an import issue:
pointsel_test
Traceback (most recent call last):
File "/workspace/tests/integ/pointsel_test.py", line 18, in <module>
from hsds.util.arrayUtil import arrayToBytes
ModuleNotFoundError: No module named 'hsds'
Failed
I hadn't setup the codespace environment with the hsds package, so that caused the failure. Seems like this is the only integ test using the hsds package, and it's not really needed anyway. I just replaced the arrayToBytes() call with arr.tobytes() and everything passed.
This PR enables the hsds repo to be open in a github codespace. The test suite (python testall.py) should work when run within the codespace.