Closed cookie33 closed 7 years ago
installed python2-future
yum install python2-future
Than my tests perform better, but still one error:
./testB2SafeCmd.py -test epic2
Test Epicclient2 Script
...
Test that delete non existing handle returns False. ... FAIL
...
======================================================================
FAIL: Test that delete non existing handle returns False.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/robertv/git/B2SAFE-core/scripts/tests/testB2SafeCmd/epic2intgtest.py", line 326, in test_delete_non_existing_handle
'delete non existing handle should return False')
AssertionError: 'True' != 'False' : delete non existing handle should return False
----------------------------------------------------------------------
Ran 23 tests in 30.918s
FAILED (failures=1)
This is the same as the issue: deleting a non-existent handle does not raise an exception #109
OK, I looked at the codebase - this apparently fell between the cracks in commit 19f81e26d62f353d975bdb08c69a1c8e78af5d90
The fix #109 by Tobias is not in version 1.1.0.
HI,
After building and installing the b2handle library on Centos 6.8 with Python 2.6 it stops functioning. Building was done as follows:
This so we can install an rpm and see easily what is installed.
The first error is:
The second was about the
future.standard_library
inutilhandle.py
.I fixed these with a try except and pass if ImportError but now we have an other error:
The version of url lib on my system is:
So for the moment I am reverting back to version 1.0.x