dylancavalcante opened a new pull request, #40819: URL: https://github.com/apache/superset/pull/40819
### SUMMARY Adds unit tests for the `split` utility function located in `superset/utils/core.py`. The test suite includes both black-box and white-box test cases to validate expected behavior and exercise key execution paths of the function. Black-box tests cover: * Empty string input * Leading delimiter * Trailing delimiter * Delimiter-only string * Nested parentheses White-box tests cover: * Delimiter found branch * Delimiter not found branch * Parentheses handling branch * Escaped quote handling branch ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Not applicable. ### TESTING INSTRUCTIONS Run: ```bash pytest --noconftest tests/unit_tests/utils/test_split.py -v ``` Expected result: ```text 9 passed ``` ### ADDITIONAL INFORMATION * [ ] Has associated issue: * [ ] Required feature flags: * [ ] Changes UI * [ ] Includes DB Migration * [ ] Introduces new feature or API * [ ] Removes existing feature or API -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
