databrickslabs / blueprint

Baseline for Databricks Labs projects written in Python
https://pypi.org/project/databricks-labs-blueprint/
Other
19 stars 8 forks source link

`MockPrompts.extend()` now returns a copy #72

Closed pritishpai closed 7 months ago

pritishpai commented 7 months ago

extend method in MockPrompts would modify the state of the original MockPrompts. Changing it to return a copy instead so that the original prompts can be re-used in multiple places in the same test.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.68%. Comparing base (a7365be) to head (12d6d78).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #72 +/- ## ========================================== - Coverage 78.71% 78.68% -0.03% ========================================== Files 14 14 Lines 1442 1440 -2 Branches 255 254 -1 ========================================== - Hits 1135 1133 -2 Misses 222 222 Partials 85 85 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.