pyeclib/test
Tim Burke 3f8ead5a29 tests: Fix random "invalid range" errors
random.randint is inclusive on both ends, unlike random.randrange.
As a result, we could previously (rarely) select an end value
*exactly equal* to len(whole_file_bytes), causing an error like

    pyeclib.ec_iface.ECInvalidParameter: pyeclib_c_decode invalid
    range ERROR: Invalid arguments. Please inspect syslog for
    liberasurecode error report.

Change-Id: I842fbbc2eb1f8c4a1d4eb53597ad14cce4eb3dcf
2024-02-29 11:52:06 -08:00
..
test_files Added end-to-end testing of PyECLib that uses command-line encoder and decoder. 2013-09-30 00:21:24 -07:00
__init__.py Initial import of re-factoring the unit tests to exist in a central location 2014-06-04 15:50:00 -06:00
ec_pyeclib_file_test.sh Clean up extra spaces 2021-09-15 02:05:47 -04:00
run_core_tests_manual.py Fix gate 2023-05-01 08:49:55 -07:00
run_core_tests_manual_valgrind.py test: Run core tests only once 2015-02-25 09:45:29 -07:00
test_pyeclib_api.py pep8: Use default line width 2024-01-26 01:49:00 +09:00
test_pyeclib_c.py tests: Fix random "invalid range" errors 2024-02-29 11:52:06 -08:00