Commit 13df0089 authored by Hrvoje Ribicic's avatar Hrvoje Ribicic
Browse files

Fix failing cluster query test

This patch makes a mock use a dictionary instead of an object, allowing
alias finding to work on it.
Signed-off-by: default avatarHrvoje Ribicic <>
Reviewed-by: default avatarThomas Thrainer <>
parent bbdf78f5
......@@ -1746,7 +1746,7 @@ class TestClusterInfo(unittest.TestCase):
def QueryClusterInfo(self):
assert self.cluster_info is None
self.cluster_info = object()
self.cluster_info = {}
return self.cluster_info
def test(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment