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:

Description (last modified by Itamar Turner-Trauring)

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/ 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.)

Change History (1)

comment:1 Changed 8 years ago by Itamar Turner-Trauring

Description: modified (diff)
Note: See TracTickets for help on using tickets.