':py:obj:`Context.set_cipher_list` raises :py:obj:`TypeError` when
passed zero arguments or more than one argument or when passed a
non-string single argument and raises :py:obj:`OpenSSL.SSL.Error` when
passed an incorrect cipher list string.'

def test_set_cipher_list_wrong_args(self):

    context = Context(TLSv1_METHOD)
    self.assertRaises(TypeError, context.set_cipher_list)
    self.assertRaises(TypeError, context.set_cipher_list, object())
    self.assertRaises(TypeError, context.set_cipher_list, 'EXP-RC4-MD5', object())
    self.assertRaises(Error, context.set_cipher_list, 'imaginary-cipher')
