Testing Helper Functions¶
-
test_external_command.
test_ec_OSError
() → None¶ Test external_command raise an OSError for Command Not Found
-
test_external_command.
test_ec_ProcessError
() → None¶ Test external_command raise an CalledProcessError when has a non-0 status
-
test_external_command.
test_ec_successful
() → None¶ Test a basic command call with external_command
Checks that a successful call returns an exit code of 0 and the expected output
-
test_itemsetter.
test_itemsetter
() → None¶ Test itemsetter with basic inputs
- Returns
None