Skip to content

Commit be85a0b

Browse files
committed
coverage
1 parent 4322803 commit be85a0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chia/_tests/blockchain/blockchain_test_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
async def check_block_store_invariant(bc: Blockchain):
1919
# This function checks the invariant of the sqlite database.
2020
# Only operate on the sqlite block store.
21-
if not isinstance(bc.consensus_store, ConsensusStoreSQLite3):
22-
return
21+
assert isinstance(bc.consensus_store, ConsensusStoreSQLite3)
2322

2423
db_wrapper = bc.consensus_store.block_store.db_wrapper
2524

0 commit comments

Comments
 (0)