diff options
Diffstat (limited to 'tests/optf-cmso/cmso/attlibs/RequestsClientCert.py')
-rw-r--r-- | tests/optf-cmso/cmso/attlibs/RequestsClientCert.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/optf-cmso/cmso/attlibs/RequestsClientCert.py b/tests/optf-cmso/cmso/attlibs/RequestsClientCert.py new file mode 100644 index 00000000..e1fd66ff --- /dev/null +++ b/tests/optf-cmso/cmso/attlibs/RequestsClientCert.py @@ -0,0 +1,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
\ No newline at end of file |