diff options
| author | Aymeric Augustin | 2013-10-16 23:03:07 +0200 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-10-17 18:24:58 +0200 | 
| commit | 23c44d8c5cf560cc8cb304d8753e8b658d1fe70d (patch) | |
| tree | 575ad8a220c70a8f00a3d6fdab49f29d062d10be /tests | |
| parent | c22528df06e821936590431db5ba1a424e16f6a0 (diff) | |
| download | django-debug-toolbar-23c44d8c5cf560cc8cb304d8753e8b658d1fe70d.tar.bz2 | |
Enable unicode_literals in all non-empty modules.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/tests.py | 2 | ||||
| -rw-r--r-- | tests/urls.py | 2 | ||||
| -rw-r--r-- | tests/views.py | 4 | 
3 files changed, 6 insertions, 2 deletions
| diff --git a/tests/tests.py b/tests/tests.py index 4c6f246..5dcb034 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -1,4 +1,4 @@ -from __future__ import with_statement +from __future__ import unicode_literals  import thread  import django diff --git a/tests/urls.py b/tests/urls.py index 326c61a..9c24c1e 100644 --- a/tests/urls.py +++ b/tests/urls.py @@ -5,6 +5,8 @@ These should not be loaded explicitly; the debug toolbar middleware will patch  this into the urlconf for the request.  """ +from __future__ import unicode_literals +  from django.conf.urls import patterns, url  from django.contrib import admin diff --git a/tests/views.py b/tests/views.py index 909a784..ec9f30e 100644 --- a/tests/views.py +++ b/tests/views.py @@ -1,9 +1,11 @@ +from __future__ import unicode_literals +  from django.contrib.auth.models import User  from django.http import HttpResponse  def execute_sql(request):      list(User.objects.all()) -     +      return HttpResponse()  def resolving_view(request, arg1, arg2): | 
