def smoketests_json(request): """ Run smoke tests and return results as JSON datastructure """ from cla_frontend.apps.status.tests.smoketests import SmokeTests return JsonResponse(smoketest(SmokeTests))
def smoke_tests(): """ Run smoke tests and return results as JSON datastructure """ from cla_common.smoketest import smoketest from cla_public.apps.checker.tests.smoketests import SmokeTests return jsonify(smoketest(SmokeTests))