SimFHE icon indicating copy to clipboard operation
SimFHE copied to clipboard

Run "run_test.sh" failed and ConfigParam not found.

Open halfmanli opened this issue 1 year ago • 2 comments

I run the commands in run_test.sh and it shows errors:

==================================================================================================================== FAILURES ====================================================================================================================
_____________________________________________________________________________________________________________________ test_N _____________________________________________________________________________________________________________________

    def test_N():
>       config = params.ConfigParam()
E       AttributeError: module 'params' has no attribute 'ConfigParam'

tests/test_params.py:5: AttributeError
___________________________________________________________________________________________________________________ test_limbs ___________________________________________________________________________________________________________________

    def test_limbs():
>       config = params.ConfigParam()
E       AttributeError: module 'params' has no attribute 'ConfigParam'

tests/test_params.py:10: AttributeError
______________________________________________________________________________________________________________ test_eval_img_limbs _______________________________________________________________________________________________________________

    def test_eval_img_limbs():
>       config = params.ConfigParam()
E       AttributeError: module 'params' has no attribute 'ConfigParam'

tests/test_params.py:15: AttributeError
____________________________________________________________________________________________________________ test_slot_to_coeff_limbs ____________________________________________________________________________________________________________

    def test_slot_to_coeff_limbs():
>       config = params.ConfigParam()
E       AttributeError: module 'params' has no attribute 'ConfigParam'

tests/test_params.py:20: AttributeError
============================================================================================================ short test summary info =============================================================================================================
FAILED tests/test_params.py::test_N - AttributeError: module 'params' has no attribute 'ConfigParam'
FAILED tests/test_params.py::test_limbs - AttributeError: module 'params' has no attribute 'ConfigParam'
FAILED tests/test_params.py::test_eval_img_limbs - AttributeError: module 'params' has no attribute 'ConfigParam'
FAILED tests/test_params.py::test_slot_to_coeff_limbs - AttributeError: module 'params' has no attribute 'ConfigParam'
=============================================================================================================== 4 failed in 0.08s ===============================================================================================================

I cannot find ConfigParam in params.py, could you please help me?

halfmanli avatar Nov 01 '23 12:11 halfmanli