':py:obj:`OpenSSL.rand.load_file` raises :py:obj:`TypeError` when called the wrong
number of arguments or arguments not of type :py:obj:`str` and :py:obj:`int`.'

def test_load_file_wrong_args(self):

    self.assertRaises(TypeError, rand.load_file)
    self.assertRaises(TypeError, rand.load_file, 'foo', None)
    self.assertRaises(TypeError, rand.load_file, None, 1)
    self.assertRaises(TypeError, rand.load_file, 'foo', 1, None)
