Skip to content

Commit

Permalink
[#543] Remove non-test method name
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillmakhonin authored and Aleksandr Blatov committed Nov 19, 2018
1 parent 80c693e commit 4ee40d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions legion/tests/legion_test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def __exit__(self, *args, exception=None):
raise exception


def build_requests_reponse_from_flask_test_response(test_response, url):
def build_requests_reponse_from_flask_client_response(test_response, url):
"""
Build requests.Response object from Flask test client response
Expand Down Expand Up @@ -538,7 +538,7 @@ def build_requests_mock_function(test_client):
"""
def func(action, url, data=None, headers=None):
test_response = test_client.open(url, method=action, data=data, headers=headers)
return build_requests_reponse_from_flask_test_response(test_response, url)
return build_requests_reponse_from_flask_client_response(test_response, url)
return func


Expand Down

0 comments on commit 4ee40d6

Please sign in to comment.