Skip to content

Commit

Permalink
Ran linter on files
Browse files Browse the repository at this point in the history
  • Loading branch information
axsaucedo authored and seldondev committed Dec 3, 2019
1 parent 5f5dc61 commit dc04beb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@


class UserObject(object):
def __init__(self, metrics_ok=True, ret_nparray=False, ret_meta=False, ret_dict=False):
def __init__(
self, metrics_ok=True, ret_nparray=False, ret_meta=False, ret_dict=False
):
self.metrics_ok = metrics_ok
self.ret_nparray = ret_nparray
self.nparray = np.array([1, 2, 3])
Expand Down Expand Up @@ -197,7 +199,7 @@ def test_create_rest_response_jsondata_with_array_input():
user_model = UserObject(ret_dict=True)
request_data = np.array([[5, 6, 7]])
datadef = scu.array_to_rest_datadef("ndarray", request_data)
json_request = {"data": datadef }
json_request = {"data": datadef}
raw_response = {"output": "data"}
json_response = scu.construct_response_json(
user_model, True, json_request, raw_response
Expand Down

0 comments on commit dc04beb

Please sign in to comment.