tcms_api.xmlrpc module¶
- class tcms_api.xmlrpc.CookieTransport(*args, **kwargs)[source]¶
Bases:
Transport
A subclass of xmlrpc.client.Transport that supports cookies.
- scheme = 'http'¶
- user_agent = 'tcms-api/13.2/Python 3.11.6 (main, Feb 1 2024, 16:47:41) [GCC 11.4.0]'¶
- class tcms_api.xmlrpc.KerbTransport(use_datetime=False, use_builtin_types=False, *, headers=(), context=None)[source]¶
Bases:
SafeCookieTransport
Handles GSSAPI Negotiation (SPNEGO) authentication.
- class tcms_api.xmlrpc.SafeCookieTransport(use_datetime=False, use_builtin_types=False, *, headers=(), context=None)[source]¶
Bases:
SafeTransport
,CookieTransport
SafeTransport subclass that supports cookies.
- scheme = 'https'¶
- class tcms_api.xmlrpc.TCMSKerbXmlrpc(username, password, url)[source]¶
Bases:
TCMSXmlrpc
XML-RPC client for server deployed with python-social-auth-kerberos.
Should also work for servers deployed with mod_auth_gssapi but that is not supported nor guaranteed!
- transport = <tcms_api.xmlrpc.KerbTransport object>¶
- class tcms_api.xmlrpc.TCMSProxy(uri, transport=None, encoding=None, verbose=False, allow_none=False, use_datetime=False, use_builtin_types=False, *, headers=(), context=None)[source]¶
Bases:
ServerProxy