summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Greenan <kmgreen2@gmail.com>2014-10-23 08:55:13 -0700
committerKevin Greenan <kmgreen2@gmail.com>2014-10-23 08:55:13 -0700
commit8bde5b3ec7338319ebbb9bef6c7dce5f2c7fbd37 (patch)
tree1232d459dc9981bbe1fd27d5c5f5e8ff25360d4d /test
parent61a16dbbc0a60ae1c5eb344ee2c40ed4ea330786 (diff)
downloadpyeclib-8bde5b3ec7338319ebbb9bef6c7dce5f2c7fbd37.tar.gz
A few quick fixes:
1.) Tests were not compatible with new liberasurecode API 2.) Ensure PyList was allocated
Diffstat (limited to 'test')
-rw-r--r--test/test_pyeclib_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pyeclib_c.py b/test/test_pyeclib_c.py
index 9776107..b273a84 100644
--- a/test/test_pyeclib_c.py
+++ b/test/test_pyeclib_c.py
@@ -365,7 +365,7 @@ class TestPyECLib(unittest.TestCase):
for size_str in self.sizes:
success, avg_time = self.time_range_decode(self.num_datas[i],
self.num_parities[i],
- ec_type, self.num_parities[i] + 1,
+ ec_type.value, self.num_parities[i] + 1,
size_str, self.iterations)
self.assertTrue(success)