summaryrefslogtreecommitdiff
path: root/tests/regressiontests/cache
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-26 04:10:40 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-26 04:10:40 +0000
commitfe240b18f61a74acf627f0747a6bc0098772ba0f (patch)
tree5de1f84a8d8c97c649788ddb23ec9753514b4b9d /tests/regressiontests/cache
parent6f16b5bad2f714b88639ebb90d30fd6cef686cfc (diff)
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
Diffstat (limited to 'tests/regressiontests/cache')
-rw-r--r--tests/regressiontests/cache/tests.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/regressiontests/cache/tests.py b/tests/regressiontests/cache/tests.py
index 703fbe5534..f050348c77 100644
--- a/tests/regressiontests/cache/tests.py
+++ b/tests/regressiontests/cache/tests.py
@@ -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 = {