there is one function in this script that could be unit tested. This could be modularized to enable unit testing. Use mocks and table tests to test edge cases.
Activity