|
13 | 13 | from web3._utils.module_testing.eth_module import ( |
14 | 14 | UNKNOWN_ADDRESS, |
15 | 15 | ) |
| 16 | +from web3._utils.module_testing.shh_module import ( |
| 17 | + ParityShhModuleTest, |
| 18 | +) |
16 | 19 |
|
17 | 20 | # some tests appear flaky with Parity v1.10.x |
18 | 21 | MAX_FLAKY_RUNS = 3 |
@@ -167,36 +170,14 @@ def test_eth_getLogs_without_logs(self, web3, block_with_txn_with_log): |
167 | 170 |
|
168 | 171 |
|
169 | 172 | class ParityTraceModuleTest(TraceModuleTest): |
170 | | - def test_list_storage_keys_no_support(self, web3, emitter_contract_address): |
171 | | - super().test_list_storage_keys_no_support(web3, emitter_contract_address) |
172 | | - |
173 | | - def test_trace_replay_transaction(self, web3, parity_fixture_data): |
174 | | - super().test_trace_replay_transaction(web3, parity_fixture_data) |
175 | | - |
176 | | - def test_trace_replay_block_with_transactions(self, |
177 | | - web3, |
178 | | - block_with_txn, |
179 | | - parity_fixture_data): |
180 | | - pytest.xfail('This method does not exist in older parity versions') |
181 | | - super().test_trace_replay_block_with_transactions(web3, |
182 | | - block_with_txn, |
183 | | - parity_fixture_data) |
184 | | - |
185 | | - def test_trace_replay_block_without_transactions(self, web3, empty_block): |
186 | | - pytest.xfail('This method does not exist in older parity versions') |
187 | | - super().test_trace_replay_block_without_transactions(web3, empty_block) |
188 | | - |
189 | | - def test_trace_block(self, web3, block_with_txn): |
190 | | - super().test_trace_block(web3, block_with_txn) |
191 | | - |
192 | | - def test_trace_transaction(self, web3, parity_fixture_data): |
193 | | - super().test_trace_transaction(web3, parity_fixture_data) |
| 173 | + pass |
194 | 174 |
|
195 | | - def test_trace_call(self, web3, math_contract, math_contract_address): |
196 | | - super().test_trace_call(web3, math_contract, math_contract_address) |
197 | 175 |
|
198 | | - def test_eth_call_with_0_result(self, web3, math_contract, math_contract_address): |
199 | | - super().test_eth_call_with_0_result(web3, math_contract, math_contract_address) |
| 176 | +class CommonParityShhModuleTest(ParityShhModuleTest): |
| 177 | + def test_shh_sync_filter(self, web3): |
| 178 | + pytest.xfail("Skip until parity filter bug is resolved") |
| 179 | + super().test_shh_sync_filter(web3) |
200 | 180 |
|
201 | | - def test_trace_filter(self, web3, txn_filter_params, parity_fixture_data): |
202 | | - super().test_trace_filter(web3, txn_filter_params, parity_fixture_data) |
| 181 | + def test_shh_async_filter(self, web3): |
| 182 | + pytest.xfail("Skip until parity filter bug is resolved") |
| 183 | + super().test_shh_async_filter(web3) |
0 commit comments