slalombuild / secureli

seCureLI is a tool that enables you to experience the delight of building products by helping you get ideas from your head into working software as frictionlessly as possible, in a reliable, secure, scalable, and observable way.
Apache License 2.0
29 stars 3 forks source link

fix: created mock to override file open #580

Open ian-bowden-slalom opened 1 week ago

ian-bowden-slalom commented 1 week ago

This PR mocks the builtins.open for the test_that_update_with_new_pattern_succeeds test so that the test doesn't open and modify the actual secureli.yaml file in the repository

Tested that all tests still pass and that the secureli file is no longer modified after running tests

Clean Code Checklist