Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 236708939204fca2a04e63bd7dd3b717feea70a8 1 parent 06279e4
@ramiro ramiro authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/regressiontests/utils/simplelazyobject.py
View
6 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 @@ def __repr__(self):
complex_object = lambda: _ComplexObject("joe")
-class TestUtilsSimpleLazyObject(unittest.TestCase):
+class TestUtilsSimpleLazyObject(TestCase):
"""
Tests for SimpleLazyObject
"""
@@ -95,4 +95,4 @@ def test_bool(self):
x = SimpleLazyObject(lambda: 3)
self.assertTrue(x)
x = SimpleLazyObject(lambda: 0)
- self.assertFalse(x)
+ self.assertFalse(x)
Please sign in to comment.
Something went wrong with that request. Please try again.