Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests): enhance
test_querybot
with stream target and input val…
…idations - Add minimum size constraints to `dummy_text` and `mock_response` in `test_querybot` to ensure more realistic test data. - Introduce `stream_target` parameter to `QueryBot` instantiation within `test_querybot`, allowing tests to specify output stream (either "panel" or "stdout"). - Rename `test_querybot_init` to `test_querybot` to better reflect the test's purpose, which now includes sending a query to the bot. - Execute a sample query against the `QueryBot` instance to verify its operational status post-initialization. This enhancement aims to improve the robustness and coverage of `QueryBot` testing by ensuring the presence of meaningful test data and by testing a broader spectrum of the bot's functionality.
- Loading branch information