Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use django TestCase for assertIn

  • Loading branch information...
commit 509c41f891e206986d1dc986290a9a799d36d09b 1 parent a9bfd06
@ojii ojii authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  cms/tests/templatetags.py
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.