summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAvitalFineRedis <avital.fine@redislabs.com>2021-10-14 15:21:19 +0200
committerAvitalFineRedis <avital.fine@redislabs.com>2021-10-14 15:21:19 +0200
commit3758579b42c4cc7546343dcf348891e933cb922f (patch)
tree4f9f4a94a22805206cd2cbc4a86526d830eaaf6a /tests
parent5cd878de3eca3322d6719822d4999595f943b218 (diff)
downloadredis-py-3758579b42c4cc7546343dcf348891e933cb922f.tar.gz
implement memory_malloc_stats
Diffstat (limited to 'tests')
-rw-r--r--tests/test_commands.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py
index 2be8923..21f2597 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -3455,6 +3455,10 @@ class TestRedisCommands:
assert resp == [0, None, 255]
@skip_if_server_version_lt('4.0.0')
+ def test_memory_malloc_stats(self, r):
+ assert r.memory_malloc_stats()
+
+ @skip_if_server_version_lt('4.0.0')
def test_memory_stats(self, r):
# put a key into the current db to make sure that "db.<current-db>"
# has data