16 lines
415 B
Python
16 lines
415 B
Python
import json
|
|
|
|
from django.conf import settings
|
|
from django.http import HttpResponse
|
|
|
|
|
|
def test_settings(request):
|
|
return HttpResponse(settings.SMOKE_TEST, content_type="text/plain")
|
|
|
|
|
|
def test_secrets(request):
|
|
return HttpResponse(settings.SECRETS_SMOKE_TEST, content_type="text/plain")
|
|
|
|
|
|
def test_json(request):
|
|
return HttpResponse(json.dumps(settings.JSON_SMOKE_TEST), content_type="application/json")
|