aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-05-23 14:30:56 +0200
committerGravatar Leon Sandøy <[email protected]>2020-05-23 14:42:19 +0200
commitaa0bb028ed889d93376981213673053a540e137c (patch)
tree72bbefe0c1dcf6165bc1d72464aea6784f48fe2a /tests
parentUpdate exception message (diff)
Fix typo in test_to_dict docstring
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/utils/test_redis_cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/utils/test_redis_cache.py b/tests/bot/utils/test_redis_cache.py
index d257e91d9..2ce57499a 100644
--- a/tests/bot/utils/test_redis_cache.py
+++ b/tests/bot/utils/test_redis_cache.py
@@ -111,7 +111,7 @@ class RedisCacheTests(unittest.IsolatedAsyncioTestCase):
self.assertEqual(await self.redis.length(), 4)
async def test_to_dict(self):
- """Test that the .copy method returns a workable dictionary copy."""
+ """Test that the .to_dict method returns a workable dictionary copy."""
copy = await self.redis.to_dict()
local_copy = {key: value async for key, value in self.redis.items()}
self.assertIs(type(copy), dict)