mirror of
https://github.com/FlipsideCrypto/web3.py.git
synced 2026-02-06 10:56:47 +00:00
add test for filter running
This commit is contained in:
parent
807bf02434
commit
fac96057e1
@ -0,0 +1,8 @@
|
||||
def test_filter_runs_immediately(web3):
|
||||
seen_logs = []
|
||||
txn_filter = web3.eth.filter({})
|
||||
assert txn_filter.running is None
|
||||
|
||||
txn_filter.watch(lambda _: _)
|
||||
|
||||
assert txn_filter.running is True
|
||||
Loading…
Reference in New Issue
Block a user