Add test utilities and scripts

- Add test directory with main.py, p2p.py, ws.py
- Add send_empty_json.py WebSocket test script
This commit is contained in:
2026-01-17 21:40:11 +13:00
parent 6e61ec8de6
commit a4502055fb
4 changed files with 354 additions and 0 deletions

12
test/main.py Normal file
View File

@@ -0,0 +1,12 @@
from microdot import Microdot
from src.profile import profile_app
app = Microdot()
@app.route('/')
async def index(request):
return 'Hello, world!'
app.mount(profile_app, url_prefix="/profile")
app.run(port=8080, debug=True)