Skip to content

Commit

Permalink
GH-1433 Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jul 31, 2023
1 parent a752b48 commit f0f7ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/plugin_http_api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ def test_TraceApi(self) :
# get_transaction_trace with invalid parameter
ret_json = self.nodeos.processUrllibRequest(resource, command, self.http_post_invalid_param)
self.assertEqual(ret_json["code"], 400)
# get_transaction_trace with valid parameter
# get_transaction_trace with syntactically correct id parameter, but random id, so should return 404 (not found)
payload = {"id":"f6e325a524e0d75c2275e7d9c2d9e065a38760c29b1d0471a75ccde650ef26d6"}
ret_json = self.nodeos.processUrllibRequest(resource, command, payload)
self.assertEqual(ret_json["code"], 404)
Expand Down

0 comments on commit f0f7ebe

Please sign in to comment.