blob: 1c055da59ee8ed1b56509ba331089d31e6f659ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import json
def get_json(data):
return json.loads(data.decode("utf-8"))
def register_client():
import moon_manager.server
server = moon_manager.server.main()
client = server.app.test_client()
return client
|