':py:obj:`OpenSSL.rand.egd` returns :py:obj:`0` or :py:obj:`-1` if the
EGD socket passed to it does not exist.'

def test_egd_missing(self):

    result = rand.egd(self.mktemp())
    expected = ((-1), 0)
    self.assertTrue((result in expected), ('%r    not    in    %r' % (result, expected)))
