summaryrefslogtreecommitdiffstats
path: root/cmso-robot/robot/locallibrary/cmsoUtils/RequestsClientCert.py
blob: e1fd66ff8883a394781013a7c139039c4cce05a9 (plain)
1
2
3
4
5
6
7
class RequestsClientCert:
    """RequestsClientCert allows adding a client cert to the Requests Robot Library."""
    
    def add_client_cert(self, session, cert):
        """Add Client Cert takes in a requests session object and a string path to the cert"""
        session.cert = cert