"""
Some tests around the SockCreator component.
"""
- component = isc.bind10.special_component.SockCreator(None, self, 'needed',
- None)
+ component = isc.bind10.special_component.SockCreator(None, self,
+ 'needed', None)
orig_setuid = isc.bind10.special_component.posix.setuid
isc.bind10.special_component.posix.setuid = self.setuid
orig_creator = \
component.kill()
component.kill(True)
self.uid = 42
- component = isc.bind10.special_component.SockCreator(None, self, 'needed',
- None)
+ component = isc.bind10.special_component.SockCreator(None, self,
+ 'needed', None)
component.start()
# This time, it get's called
self.assertEqual(42, self.__uid_set)