status-go/tests-functional/tests/test_app_general.py
fbarbu15 08eee8a647
test_: add python linters (#6212)
* test_: add python linters

* test_: add python linters

* test_: add python linters

* test_: add python linters

* test_: enabled pyright typeCheckingMode

* test_: enabled pyright typeCheckingMode
2024-12-16 12:38:24 +02:00

23 lines
514 B
Python

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)