securesauce / precli

Precaution CLI - command line static application security testing tool
https://precli.readthedocs.io/
Other
13 stars 3 forks source link

Update some tests so they are runnable #451

Closed ericwb closed 3 months ago

ericwb commented 3 months ago

Some of the test cases use code defined in fucntions but would not execute unless from some other module calling that function.

This change updates each of these tests to add a main guard that calls the function.