Fix tests

This commit is contained in:
Alexey Milovidov 2024-06-23 02:46:58 +02:00
parent 1ac78e1ffb
commit 824716efef

View File

@ -137,7 +137,7 @@ class KeeperClient(object):
def set(self, path: str, value: str, version: tp.Optional[int] = None) -> None:
self.execute_query(
f"set '{path}' '{value}' '{version if version is not None else ''}'"
f"set '{path}' '{value}' {version if version is not None else ''}"
)
def rm(self, path: str, version: tp.Optional[int] = None) -> None:
@ -196,7 +196,7 @@ class KeeperClient(object):
)
return self.execute_query(
f"reconfig '{operation}' '{joining or leaving or new_members}'", timeout
f"reconfig {operation} '{joining or leaving or new_members}'", timeout
)
@classmethod