test and lint
This commit is contained in:
1 parent
f28c9fee83
commit
b6d54d086e
4 files changed
+17
-27
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ async def test():
|
||||
assert(response == "HOSTJOIN:")
|
||||
await ws.send("HOST:")
|
||||
response = await ws.recv()
|
||||
assert(re.match(r"(\d|[a-f]){6}", response))
|
||||
assert(re.match(r"CODE: [a-f\d]{6}", response))
|
||||
|
||||
asyncio.get_event_loop().run_until_complete(test())
|
||||
print("All tests passed")
|
||||
Reference in new issue
Block a user