Fix zookeeper test coverage

This commit is contained in:
Alexander Kukushkin
2015-09-09 15:59:02 +02:00
parent 5bdb18761b
commit 36cbd34ffc
+2 -2
View File
@@ -56,9 +56,9 @@ class MockKazooClient:
func(*args, **kwargs)
def get(self, path, watch=None):
if path == '/service/test/no_node':
if path == '/no_node':
raise NoNodeError
elif path == '/service/test/other_exception':
elif path == '/other_exception':
raise Exception()
elif '/members/' in path:
return (