diff options
Diffstat (limited to 'ironic_python_agent/tests/functional')
| -rw-r--r-- | ironic_python_agent/tests/functional/base.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ironic_python_agent/tests/functional/base.py b/ironic_python_agent/tests/functional/base.py index b47ecdf0..5267eb62 100644 --- a/ironic_python_agent/tests/functional/base.py +++ b/ironic_python_agent/tests/functional/base.py @@ -71,13 +71,13 @@ class FunctionalBase(test_base.BaseTestCase): **kwargs): """Send a request to the agent and verifies response. - :param: method type of request to send as a string - :param: path desired API endpoint to request, for example 'commands' - :param: expect_error error code to expect, if an error is expected - :param: expect_json whether to expect a JSON response. if True, convert + :param method: type of request to send as a string + :param path: desired API endpoint to request, for example 'commands' + :param expect_error: error code to expect, if an error is expected + :param expect_json: whether to expect a JSON response. if True, convert it to a dict before returning, otherwise return the Response object - :param **kwargs: keyword args to pass to the request method + :param kwargs: keyword args to pass to the request method :raises: HTTPError if an error is returned that was not expected :raises: AssertionError if a received HTTP status code does not match expect_error |
