2024-10-01 13:16:45 +00:00
fix
2024-08-21 14:06:07 +03:00
2024-10-01 13:16:45 +00:00
2024-09-23 10:57:07 +03:00
2024-07-24 21:28:01 +03:00
2024-06-03 18:14:54 +03:00
2024-06-03 18:14:54 +03:00
2024-06-03 18:14:54 +03:00
2024-06-03 18:14:54 +03:00
2024-06-20 16:55:56 +03:00
2024-10-01 13:16:45 +00:00
2024-06-03 22:24:35 +03:00

status-cli-tests

Status cli tool tests with focus on reliability under unreliable network conditions.

Setup and contribute

Install python 3.12 (might work with other versions as well but was tested only with 3.12)

git clone git@github.com:status-im/status-cli-tests.git
cd status-cli-tests
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pre-commit install
(optional) Overwrite default vars from src/env_vars.py via cli env vars or by adding a .env file
pytest (for all test)
pytest -k "test_one_to_one_with_latency" (for single test)

CI

  • Test runs via github actions

Create communities for the tests

We pre create communities for the tests to avoid crowding the network with test data. If you need to re-create them, you can do so with the script:

source .venv/bin/activate
PYTHONPATH=. python src/scripts/create_nodes_with_communities.py

Then delete the old communities in the resources folder and commit the new ones.

License

Licensed and distributed under either of

or

at your option. These files may not be copied, modified, or distributed except according to those terms.

S
Description
No description provided
Readme
1.5 GiB
Languages
Python 100%