Skip to content

Commit

Permalink
change tests names to *_trace_transaction*
Browse files Browse the repository at this point in the history
change tests names to *_trace_transaction*
  • Loading branch information
romanova-natasha committed Nov 16, 2023
1 parent b2b5755 commit 4a29c2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions integration/tests/tracer/test_tracer_debug_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_debug_trace_call_non_zero_eth_call(self, storage_contract):
assert 1 <= int(response["result"]["returnValue"], 16) <= 100
self.validate_response_result(response)

def test_debug_transaction_call(self):
def test_debug_trace_transaction(self):
receipt = self.send_neon(
self.sender_account, self.recipient_account, 0.1)
assert receipt["status"] == 1
Expand All @@ -129,7 +129,7 @@ def test_debug_transaction_call(self):
assert "error" not in response, "Error in response"
self.validate_response_result(response)

def test_debug_transaction_call_non_zero_trace(self, storage_contract):
def test_debug_trace_transaction_non_zero_trace(self, storage_contract):
store_value = random.randint(1, 100)
_, _, receipt = call_storage(
self, storage_contract, store_value, "blockNumber")
Expand All @@ -145,7 +145,7 @@ def test_debug_transaction_call_non_zero_trace(self, storage_contract):
assert 1 <= int(response["result"]["returnValue"], 16) <= 100
self.validate_response_result(response)

def test_debug_transaction_call_hash_without_prefix(self, storage_contract):
def test_debug_trace_transaction_hash_without_prefix(self, storage_contract):
store_value = random.randint(1, 100)
_, _, receipt = call_storage(
self, storage_contract, store_value, "blockNumber")
Expand All @@ -162,7 +162,7 @@ def test_debug_transaction_call_hash_without_prefix(self, storage_contract):
self.validate_response_result(response)

@pytest.mark.parametrize("hash", [6, '0x0', '', 'f23e554'])
def test_debug_transaction_call_invalid_hash(self, hash):
def test_debug_trace_transaction_invalid_hash(self, hash):
response = self.tracer_api.send_rpc(
method="debug_traceTransaction", params=[hash])
assert "error" in response, "No errors in response"
Expand Down

0 comments on commit 4a29c2f

Please sign in to comment.