aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-06-12 21:09:23 +0200
committerGravatar kwzrd <[email protected]>2020-06-12 21:09:23 +0200
commit20ae5c0dd8f5b6211c43e8f06138ee1acb456b62 (patch)
tree05c60deee5ec0f7860fdbffb86edd9655ab94358 /tests
parentIncidents: extend documentation (diff)
parentReplace mention of Flask with Django (diff)
Merge branch 'origin/master' into kwzrd/incidents
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/utils/test_redis_cache.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/bot/utils/test_redis_cache.py b/tests/bot/utils/test_redis_cache.py
index 8c1a40640..e5d6e4078 100644
--- a/tests/bot/utils/test_redis_cache.py
+++ b/tests/bot/utils/test_redis_cache.py
@@ -44,16 +44,6 @@ class RedisCacheTests(unittest.IsolatedAsyncioTestCase):
with self.assertRaises(RuntimeError):
await bad_cache.set("test", "me_up_deadman")
- def test_namespace_collision(self):
- """Test that we prevent colliding namespaces."""
- bob_cache_1 = RedisCache()
- bob_cache_1._set_namespace("BobRoss")
- self.assertEqual(bob_cache_1._namespace, "BobRoss")
-
- bob_cache_2 = RedisCache()
- bob_cache_2._set_namespace("BobRoss")
- self.assertEqual(bob_cache_2._namespace, "BobRoss_")
-
async def test_set_get_item(self):
"""Test that users can set and get items from the RedisDict."""
test_cases = (