Skip to content

Commit a5ae7bd

Browse files
committed
no tests
1 parent 19b45fb commit a5ae7bd

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

tests/core/middleware/test_http_request_retry.py

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_check_if_retry_on_failure_false():
4343
methods = [
4444
"eth_sendTransaction",
4545
"personal_signAndSendTransaction",
46-
"personal_sendTRansaction",
46+
"personal_sendTransaction",
4747
]
4848

4949
for method in methods:
@@ -99,32 +99,6 @@ def test_check_with_all_middlewares(make_post_request_mock):
9999
assert make_post_request_mock.call_count == 5
100100

101101

102-
def test_eth_maxpriorityfeepergas_is_whitelisted():
103-
method = "eth_maxPriorityFeePerGas"
104-
assert check_if_retry_on_failure(method)
105-
106-
107-
@patch("web3.providers.rpc.make_post_request", side_effect=ConnectionError)
108-
def test_valid_method_retried_for_maxpriofee(make_post_request_mock, exception_retry_request_setup):
109-
method = "eth_maxPriorityFeePerGas"
110-
params = []
111-
112-
with pytest.raises(ConnectionError):
113-
exception_retry_request_setup(method, params)
114-
assert make_post_request_mock.call_count == 5
115-
116-
117-
def test_valid_method_retried_for_maxpriofee_no_retry(exception_retry_request_setup):
118-
method = "eth_maxPriorityFeePerGas"
119-
params = []
120-
121-
with pytest.raises(ConnectionError):
122-
exception_retry_request_setup(method, params)
123-
124-
# breakpoint()
125-
# assert make_post_request_mock.call_count == 5
126-
127-
128102
# -- async -- #
129103

130104

0 commit comments

Comments
 (0)