Skip to content

Commit c099460

Browse files
committed
test_: add tests for wakuext_SavedAddress
1 parent 17765b0 commit c099460

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests-functional/tests/test_wakuext_savedAddress.py

+2-8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from test_cases import StatusBackendTestCase
55

66

7+
@pytest.mark.rpc
8+
@pytest.mark.wallet
79
class TestSavedAddresses(StatusBackendTestCase):
810

911
@pytest.mark.parametrize(
@@ -137,11 +139,3 @@ def test_remaining_capacity_for_saved_addresses(self):
137139
response = self.rpc_client.rpc_request("wakuext_remainingCapacityForSavedAddresses", [is_test])
138140
self.rpc_client.verify_is_json_rpc_error(response)
139141
assert response.json()["error"]["message"] == "no more save addresses can be added"
140-
141-
# Uncomment when answer is ready: testing adding beyond capacity
142-
# logging.info("Step: Attempting to add one more address beyond capacity")
143-
# not_added_address = "0x6621930f8c6c992ef708b2d097cc9df860dede0d"
144-
# self.rpc_client.rpc_valid_request("wakuext_upsertSavedAddress", [{"address": not_added_address, "name": "a1", "isTest": is_test}])
145-
# response = self.rpc_client.rpc_valid_request("wakuext_getSavedAddressesPerMode", [is_test])
146-
# assert all(entry["address"] != not_added_address for entry in response.json()["result"])
147-
# assert len(response.json()["result"]) == 20

0 commit comments

Comments
 (0)