status-go/tests-functional/tests/test_accounts.py

27 lines
647 B
Python
Raw Normal View History

import random
import pytest
import jsonschema
import json
from conftest import option
from test_cases import StatusDTestCase
@pytest.mark.accounts
@pytest.mark.rpc
class TestAccounts(StatusDTestCase):
@pytest.mark.parametrize(
"method, params",
[
("accounts_getKeypairs", []),
("accounts_hasPairedDevices", []),
("accounts_remainingAccountCapacity", [])
],
)
def test_(self, method, params):
_id = str(random.randint(1, 8888))
response = self.rpc_client.rpc_valid_request(method, params, _id)
self.rpc_client.verify_json_schema(response, method)