Make python-black happy
This commit is contained in:
parent
f359a90a47
commit
22846890b1
2 changed files with 3 additions and 2 deletions
|
@ -8,8 +8,8 @@ import django
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.test.utils import get_runner
|
from django.test.utils import get_runner
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == "__main__":
|
||||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
|
os.environ["DJANGO_SETTINGS_MODULE"] = "tests.settings"
|
||||||
django.setup()
|
django.setup()
|
||||||
TestRunner = get_runner(settings)
|
TestRunner = get_runner(settings)
|
||||||
test_runner = TestRunner()
|
test_runner = TestRunner()
|
||||||
|
|
|
@ -7,6 +7,7 @@ from django.urls import include, path
|
||||||
# Two tiny views to easily test user authentication.
|
# Two tiny views to easily test user authentication.
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
|
|
||||||
def public_view(request):
|
def public_view(request):
|
||||||
return HttpResponse("OK")
|
return HttpResponse("OK")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue