'Should return map with only signals in the `signal` module.
The `signal` module is documented to only define those
signals which exist on the running system. Therefore the
default map should not contain any signals which are not
defined in the `signal` module.'

def test_returns_signal_map_with_only_ids_in_signal_module(self):

    del self.default_signal_map[signal.SIGTTOU]
    del signal.SIGTTOU
    expect_result = self.default_signal_map
    result = daemon.daemon.make_default_signal_map()
    self.failUnlessEqual(expect_result, result)
