From 236708939204fca2a04e63bd7dd3b717feea70a8 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Wed, 1 Jun 2011 22:09:50 +0000 Subject: [PATCH] Tweaked test added in [16308] so it doesn't fail. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16311 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/utils/simplelazyobject.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/regressiontests/utils/simplelazyobject.py b/tests/regressiontests/utils/simplelazyobject.py index e84752a5cc1..c63c948f309 100644 --- a/tests/regressiontests/utils/simplelazyobject.py +++ b/tests/regressiontests/utils/simplelazyobject.py @@ -1,5 +1,5 @@ import copy -import unittest +from django.utils.unittest import TestCase from django.utils.functional import SimpleLazyObject, empty @@ -25,7 +25,7 @@ class _ComplexObject(object): complex_object = lambda: _ComplexObject("joe") -class TestUtilsSimpleLazyObject(unittest.TestCase): +class TestUtilsSimpleLazyObject(TestCase): """ Tests for SimpleLazyObject """ @@ -95,4 +95,4 @@ class TestUtilsSimpleLazyObject(unittest.TestCase): x = SimpleLazyObject(lambda: 3) self.assertTrue(x) x = SimpleLazyObject(lambda: 0) - self.assertFalse(x) \ No newline at end of file + self.assertFalse(x)