Skip to content

Commit 473510d

Browse files
committed
remove unused variables
1 parent f0b7bd1 commit 473510d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/arguments/api_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def print_response_json(cls,response):
6060
output_json = highlight(parsed_json, lexers.JsonLexer(),
6161
formatters.TerminalFormatter())
6262
print(output_json)
63-
return output_json, response_data
63+
return response_data
6464

6565
# Make GET request
6666
@classmethod
@@ -69,7 +69,7 @@ def get_request(cls):
6969
# Make GET request and store the response in response_data.json
7070
try:
7171
response = requests.get(request_data["request_url"], headers= request_data["request_headers"])
72-
output_json, response_data = cls.print_response_json(response)
72+
response_data = cls.print_response_json(response)
7373
cls.save_response_data(response_data)
7474

7575
except requests.exceptions.InvalidSchema:
@@ -83,7 +83,7 @@ def delete_endpoint_request(cls):
8383
request_data = cls.fetch_input_url()
8484
try:
8585
response = requests.delete(request_data["request_url"], headers= request_data["request_headers"])
86-
output_json, response_data = cls.print_response_json(response)
86+
response_data = cls.print_response_json(response)
8787
cls.save_response_data(response_data)
8888

8989
except requests.exceptions.InvalidSchema:

0 commit comments

Comments
 (0)