Skip to content

Commit e43fb07

Browse files
committed
fix tests
1 parent e7db247 commit e43fb07

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

chia/_tests/core/full_node/stores/test_block_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ async def test_get_block_bytes_in_range(tmp_dir: Path, bt: BlockTools, db_versio
512512
coin_store_2 = await CoinStore.create(db_wrapper_2)
513513
store_2 = await BlockStore.create(db_wrapper_2, use_cache=use_cache)
514514
height_map = await BlockHeightMap.create(tmp_dir, db_wrapper_2)
515-
consensus_store = await ConsensusStore.create(store_2, coin_store_2, height_map)
515+
consensus_store = await ConsensusStoreSQLite3.create(store_2, coin_store_2, height_map)
516516
bc = await Blockchain.create(consensus_store, bt.constants, 2)
517517

518518
await BlockStore.create(db_wrapper_2)

chia/_tests/core/full_node/stores/test_coin_store.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,9 @@ async def test_basic_reorg(tmp_dir: Path, db_version: int, bt: BlockTools) -> No
340340
assert record.confirmed_block_index == block.height
341341
assert record.spent_block_index == 0
342342

343-
blocks_reorg_chain = bt.get_consecutive_blocks(reorg_length, blocks[: initial_block_count - 10], seed=b"2")
343+
blocks_reorg_chain = bt.get_consecutive_blocks(
344+
reorg_length, blocks[: initial_block_count - 10], seed=b"2"
345+
)
344346

345347
fork_info = ForkInfo(-1, -1, bt.constants.GENESIS_CHALLENGE)
346348
for reorg_block in blocks_reorg_chain:

0 commit comments

Comments
 (0)