Check if the test flag is set

Formulas should support running with the `test=True` setting.
This allows for making non-intrusive checks. Although the test
flag does not guarantee that it behaves correctly with nested
dependencies (since saltstack does not support any staging method)
it might be fixed to at least don't make any changes to the state.

Closes-Bug: PROD-34962
Change-Id: I5b317093c305487f39ed1e3513f70a11a17e2425
1 file changed