from app import app c = app.test_client() r = c.get("/api/voices") print("STATUS:", r.status_code) print("DATA:", r.data[:300]) print("---") r2 = c.get("/api/system") print("SYSTEM STATUS:", r2.status_code)