[extensions-web] Remove an unused import and use Django's built-in simplejson
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Remove an unused import and use Django's built-in simplejson
- Date: Wed, 16 Nov 2011 21:44:29 +0000 (UTC)
commit 1989beb640fa0ad119cd7b2f883d6c03ded602fe
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Nov 15 17:45:18 2011 -0500
Remove an unused import and use Django's built-in simplejson
sweettooth/extensions/tests.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/extensions/tests.py b/sweettooth/extensions/tests.py
index 57f2a18..d55babf 100644
--- a/sweettooth/extensions/tests.py
+++ b/sweettooth/extensions/tests.py
@@ -1,14 +1,13 @@
-import json
import os.path
import tempfile
from zipfile import ZipFile
from django.test import TestCase
-from django.test.client import Client
from django.core.files.base import File
from django.core.urlresolvers import reverse
from django.contrib.auth.models import User
+from django.utils import simplejson as json
from extensions import models
testdata_dir = os.path.join(os.path.dirname(__file__), 'testdata')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]