Opened 8 years ago
Last modified 8 years ago
#6889 enhancement new
White box tests for twisted.internet.process
Reported by: | Itamar Turner-Trauring | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Keywords: | |
Cc: | Branch: | ||
Author: |
Description (last modified by )
It would be nice if in twisted.internet.test.test_process
test_processExitedRaises
could eventually stop poking the process module. I think this means we should have some direct unit tests for twisted.internet.process
(perhaps in twisted/internet/test/test_posixprocess.py
) for various exceptional cases of reapAllProcesses, registerReapProcessHandler, and unregisterReapProcessHandler. These can be as whitebox as necessary, since twisted.internet.process is just a big implementation detail. The other cases where an exception might be raised are interesting too, and we want to make sure they're also being handled correctly.
(Originally written by JP.)
Note: See
TracTickets for help on using
tickets.