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
This commit is contained in:
Ramiro Morales 2011-06-01 22:09:50 +00:00
parent 06279e454a
commit 2367089392
1 changed files with 3 additions and 3 deletions

View File

@ -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)
self.assertFalse(x)