The test_dynamic_function_persistence test in test_save_load.py is failing.
Error:
AssertionError: '11' != {'error': "Unexpected error while executi[43 chars]ned"}
This indicates that the dynamic function is not being properly persisted and restored after saving and loading the bot. The test expects the result '11' from the dynamic addition function, but instead receives an error.
Steps to reproduce:
- Run tests/test_save_load.py
- Look for test_dynamic_function_persistence failure
Impact:
- Dynamic functions added to bots are not properly preserved during save/load operations
- This affects the bot's ability to maintain custom functionality across sessions
The
test_dynamic_function_persistencetest intest_save_load.pyis failing.Error:
This indicates that the dynamic function is not being properly persisted and restored after saving and loading the bot. The test expects the result '11' from the dynamic addition function, but instead receives an error.
Steps to reproduce:
Impact: