fbarbu15 810468a57f
test_: create private group tests (#6225)
* test_: create private group tests

* test_: set privileged False for jenkins

* test_: run baseline tests in rpc suite

* test_: address review comments

* test_: address review comments
2024-12-20 13:08:11 +02:00

13 lines
369 B
Python

from clients.rpc import RpcClient
class Service:
def __init__(self, client: RpcClient, name: str):
assert name != ""
self.rpc_client = client
self.name = name
def rpc_request(self, method: str, params=None):
full_method_name = f"{self.name}_{method}"
return self.rpc_client.rpc_valid_request(full_method_name, params)