File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -1066,6 +1066,21 @@ def test_info_multi_sections(self, r):
10661066 assert "redis_version" in res
10671067 assert "connected_clients" in res
10681068
1069+ @pytest .mark .redismod
1070+ @skip_if_server_version_lt ("7.9.0" )
1071+ def test_info_with_modules (self , r : redis .Redis ):
1072+ res = r .info (section = "everything" )
1073+ assert "modules" in res
1074+ assert "search_number_of_indexes" in res
1075+
1076+ res = r .info (section = "modules" )
1077+ assert "modules" in res
1078+ assert "search_number_of_indexes" in res
1079+
1080+ res = r .info (section = "search" )
1081+ assert "modules" not in res
1082+ assert "search_number_of_indexes" in res
1083+
10691084 @pytest .mark .onlynoncluster
10701085 @skip_if_redis_enterprise ()
10711086 def test_lastsave (self , r ):
You can’t perform that action at this time.
0 commit comments