diff --git a/icontrol/session.py b/icontrol/session.py index 9aa4254..5bb8c50 100644 --- a/icontrol/session.py +++ b/icontrol/session.py @@ -473,7 +473,7 @@ def debug_output(self): @decorate_HTTP_verb_method def delete(self, uri, **kwargs): - """Sends a HTTP DELETE command to the BIGIP REST Server. + r"""Sends a HTTP DELETE command to the BIGIP REST Server. Use this method to send a DELETE command to the BIGIP. When calling this method with the optional arguments ``name`` and ``partition`` @@ -501,7 +501,7 @@ def delete(self, uri, **kwargs): @decorate_HTTP_verb_method def get(self, uri, **kwargs): - """Sends a HTTP GET command to the BIGIP REST Server. + r"""Sends a HTTP GET command to the BIGIP REST Server. Use this method to send a GET command to the BIGIP. When calling this method with the optional arguments ``name`` and ``partition`` @@ -529,7 +529,7 @@ def get(self, uri, **kwargs): @decorate_HTTP_verb_method def patch(self, uri, data=None, **kwargs): - """Sends a HTTP PATCH command to the BIGIP REST Server. + r"""Sends a HTTP PATCH command to the BIGIP REST Server. Use this method to send a PATCH command to the BIGIP. When calling this method with the optional arguments ``name`` and ``partition`` @@ -559,7 +559,7 @@ def patch(self, uri, data=None, **kwargs): @decorate_HTTP_verb_method def post(self, uri, data=None, json=None, **kwargs): - """Sends a HTTP POST command to the BIGIP REST Server. + r"""Sends a HTTP POST command to the BIGIP REST Server. Use this method to send a POST command to the BIGIP. When calling this method with the optional arguments ``name`` and ``partition`` @@ -591,7 +591,7 @@ def post(self, uri, data=None, json=None, **kwargs): @decorate_HTTP_verb_method def put(self, uri, data=None, **kwargs): - """Sends a HTTP PUT command to the BIGIP REST Server. + r"""Sends a HTTP PUT command to the BIGIP REST Server. Use this method to send a PUT command to the BIGIP. When calling this method with the optional arguments ``name`` and ``partition`` diff --git a/icontrol/test/unit/test_session.py b/icontrol/test/unit/test_session.py index 2ebea6a..40db16d 100644 --- a/icontrol/test/unit/test_session.py +++ b/icontrol/test/unit/test_session.py @@ -551,5 +551,5 @@ def test__init__with_verify(): icrs = session.iControlRESTSession( 'test_name', 'test_pw', token=True, verify='/path/to/cert' ) - assert icrs.session.verify is '/path/to/cert' - assert icrs.session.auth.verify is '/path/to/cert' + assert icrs.session.verify == '/path/to/cert' + assert icrs.session.auth.verify == '/path/to/cert'