style: Styling i forgot to commit earlier
This commit is contained in:
@@ -95,6 +95,7 @@ async def test_client() -> None:
|
||||
|
||||
if msg.type.name == "BUFFER":
|
||||
img_data += msg.data
|
||||
|
||||
if msg.type.name == "JSON" and msg.data == b"true":
|
||||
assert (
|
||||
base64.b64encode(hashlib.sha256(img_data).digest()) == b"kqZ52sDcJSHOx7m4Ww80kK1KIZ65gpGnqwZlfaIVWWM="
|
||||
|
@@ -43,6 +43,7 @@ async def on_connect(conn: SHSDuplexStream) -> None:
|
||||
api.add_connection(packet_stream)
|
||||
|
||||
print("connect", conn)
|
||||
|
||||
async for msg in packet_stream:
|
||||
print(msg)
|
||||
|
||||
|
Reference in New Issue
Block a user