summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/eteutils/RequestsClientCert.py
diff options
context:
space:
mode:
Diffstat (limited to 'robotframework-onap/eteutils/RequestsClientCert.py')
-rw-r--r--robotframework-onap/eteutils/RequestsClientCert.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/robotframework-onap/eteutils/RequestsClientCert.py b/robotframework-onap/eteutils/RequestsClientCert.py
new file mode 100644
index 0000000..e1fd66f
--- /dev/null
+++ b/robotframework-onap/eteutils/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