Closed himanshugt16 closed 1 month ago
The changes involve modifications to the enqueue
method in the content_importer.py
file, specifically removing the inclusion of the event type in the payload dictionary. Additionally, a new test class, TestDocContentImporterCli
, has been introduced in the cli_test.py
file to enhance testing of the command-line interface for document content importing, covering various argument scenarios and error handling.
Files | Change Summary |
---|---|
kairon/events/definitions/content_importer.py | Removed the inclusion of 'event_type': EventClass.content_importer from the payload dictionary in the enqueue method. |
tests/unit_test/cli_test.py | Added a new test class TestDocContentImporterCli with multiple test methods for CLI functionality related to document content importing. |
content_importer
module and the command-line interface enhancements are related to the modifications in the enqueue
method of content_importer.py
, as both involve the functionality of the content importer.🐰 In the code where changes hop,
The event type took a little drop.
New tests now dance in CLI's light,
Ensuring imports work just right.
With each tweak, we grow and play,
Hopping forward, day by day! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Tests