The mocked util functions in test_obfuscator_returns_expected_value serve to test obfuscator is returning the correct value without being dependent on the implementation of the util functions themselves. However, the mocks rob test_obfuscator_returns_expected_value of diagnostic power to catch potential integration issues with the util functions.
The mocked functions should be removed from test_obfuscator_returns_expected_value to allow it to act as a general smoke test for uncaught errors within the util functions.
Issue
The mocked util functions in
test_obfuscator_returns_expected_value
serve to testobfuscator
is returning the correct value without being dependent on the implementation of the util functions themselves. However, the mocks robtest_obfuscator_returns_expected_value
of diagnostic power to catch potential integration issues with the util functions.Proposed resolution
The mocked functions should be removed from
test_obfuscator_returns_expected_value
to allow it to act as a general smoke test for uncaught errors within the util functions.