0
0
mirror of https://github.com/django/django.git synced 2024-11-30 15:10:46 +01:00

Removed some completely pointless test changes from [8084], since they were

already being tested. Thank, Marty. /me is dumb. :-(


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-07-26 04:10:40 +00:00
parent 6f16b5bad2
commit fe240b18f6

View File

@ -56,15 +56,11 @@ class Cache(unittest.TestCase):
cache.set("hello1", "goodbye1")
self.assertEqual(cache.has_key("hello1"), True)
self.assertEqual(cache.has_key("goodbye1"), False)
cache.set("empty", 'fred')
self.assertEqual(cache.has_key("empty"), True)
def test_in(self):
cache.set("hello2", "goodbye2")
self.assertEqual("hello2" in cache, True)
self.assertEqual("goodbye2" in cache, False)
cache.set("empty", 'fred')
self.assertEqual("empty" in cache, True)
def test_data_types(self):
stuff = {