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

24 lines
515 B
Python
Raw Permalink Normal View History

2024-11-12 13:30:13 +00:00
import random
import pytest
from test_cases import StatusBackendTestCase
@pytest.mark.accounts
@pytest.mark.rpc
class TestAppGeneral(StatusBackendTestCase):
@pytest.mark.parametrize(
"method, params",
[
("appgeneral_getCurrencies", []),
],
)
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.json(), method)