Make python-black happy

This commit is contained in:
Martin Pépin 2020-07-18 18:08:43 +02:00
parent f359a90a47
commit 22846890b1
No known key found for this signature in database
GPG key ID: E7520278B1774448
2 changed files with 3 additions and 2 deletions

View file

@ -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()

View file

@ -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")