Permalink
Browse files

use django TestCase for assertIn

  • Loading branch information...
1 parent a9bfd06 commit 509c41f891e206986d1dc986290a9a799d36d09b @ojii ojii committed Jan 18, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 cms/tests/templatetags.py
@@ -1,6 +1,6 @@
from __future__ import with_statement
import copy
-from django.test import RequestFactory
+from django.test import RequestFactory, TestCase
import os
from cms.api import create_page, create_title, add_plugin
from cms.models.pagemodel import Page, Placeholder
@@ -17,7 +17,6 @@
from django.core.exceptions import ImproperlyConfigured
from django.http import HttpRequest
from django.template import RequestContext, Context
-from unittest import TestCase
from django.template.base import Template
from django.utils.html import escape

0 comments on commit 509c41f

Please sign in to comment.