mypy formating
This commit is contained in:
parent
75b94ad6fa
commit
48052db0b3
|
@ -6,7 +6,6 @@ import logging
|
|||
import websockets
|
||||
|
||||
from typing import Any, Dict
|
||||
from aiohttp import web
|
||||
from src.server.outbound_message import NodeType, OutboundMessage, Message, Delivery
|
||||
from src.server.server import ChiaServer
|
||||
from src.simulator.simulator_constants import test_constants
|
||||
|
@ -158,6 +157,7 @@ class WebSocketServer:
|
|||
return
|
||||
asyncio.ensure_future(self.notify_ui_that_state_changed(state))
|
||||
|
||||
|
||||
async def start_websocket_server():
|
||||
"""
|
||||
Starts WalletNode, WebSocketServer, and ChiaServer
|
||||
|
|
|
@ -140,8 +140,8 @@ class TestWalletSimulator:
|
|||
)
|
||||
assert await wallet.get_confirmed_balance() == funds
|
||||
|
||||
await full_node_1.reorg_from_index_to_new_index(ReorgProtocol(
|
||||
5, num_blocks + 3, token_bytes())
|
||||
await full_node_1.reorg_from_index_to_new_index(
|
||||
ReorgProtocol(5, num_blocks + 3, token_bytes())
|
||||
)
|
||||
await asyncio.sleep(3)
|
||||
|
||||
|
@ -152,4 +152,4 @@ class TestWalletSimulator:
|
|||
]
|
||||
)
|
||||
|
||||
#assert await wallet.get_confirmed_balance() == funds
|
||||
# assert await wallet.get_confirmed_balance() == funds
|
||||
|
|
Loading…
Reference in New Issue