Skip to content

Commit

Permalink
cleaning up deprecation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
f5-rahm committed Aug 31, 2020
1 parent 4e1570e commit 8c9886b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions icontrol/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down Expand Up @@ -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``
Expand Down Expand Up @@ -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``
Expand Down Expand Up @@ -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``
Expand Down Expand Up @@ -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``
Expand Down
4 changes: 2 additions & 2 deletions icontrol/test/unit/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 8c9886b

Please sign in to comment.