style: Styling i forgot to commit earlier

This commit is contained in:
2023-11-18 06:50:51 +01:00
parent a85fce7e3f
commit 0c17410e18
6 changed files with 7 additions and 1 deletions

View File

@@ -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="

View File

@@ -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)