mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-08-26 16:11:15 +00:00
work on the rest of tests (#134)
* work on the rest of tests * Add debug tests * Add rest debug levels tests * Add rest APIs tests * Fix non working tests * Adding more tests * Add final set of tests
This commit is contained in:
@@ -184,3 +184,7 @@ class REST(BaseClient):
|
||||
|
||||
def get_debug_version(self):
|
||||
return self.rest_call("get", "debug/v1/version").text.strip()
|
||||
|
||||
def get_peer(self, peer_id: str):
|
||||
resp = self.rest_call("get", f"admin/v1/peer/{peer_id}")
|
||||
return resp.json()
|
||||
|
||||
@@ -574,3 +574,6 @@ class WakuNode:
|
||||
|
||||
def get_debug_version(self):
|
||||
return self._api.get_debug_version()
|
||||
|
||||
def get_peer_info(self, peer_id: str):
|
||||
return self._api.get_peer(peer_id)
|
||||
|
||||
Reference in New Issue
Block a user