Skip to content

Test Failure: Dynamic Function Persistence #1

@benbuzz790

Description

@benbuzz790

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:

  1. Run tests/test_save_load.py
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions