'Should be reasonably high for default open files limit.
If the system reports a limit of âinfinityâ on maximum
file descriptors, we still need a finite number in order
to close âallâ of them. Ensure this is reasonably high
to catch most use cases.'

def test_reasonably_high(self):

    expect_minimum = 2048
    maxfd = daemon.daemon.MAXFD
    self.failUnless((expect_minimum <= maxfd), msg=('MAXFD    should    be    at    least    %(expect_minimum)r    (got    %(maxfd)r)' % vars()))
