add env vars and conftest
This commit is contained in:
parent
72785d05ee
commit
198c7083b3
10
README.md
10
README.md
|
@ -13,23 +13,25 @@ python -m venv .venv
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pre-commit install
|
pre-commit install
|
||||||
|
(optional) Overwrite default vars from src/env_vars.py via cli env vars or by adding a .env file
|
||||||
pytest
|
pytest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## CI
|
## CI
|
||||||
|
|
||||||
- Test runs via github actions
|
- Test runs via github actions
|
||||||
- TBD
|
<!-- - [Allure Test Reports](https://status-im.github.io/status-cli-tests/19/) are published via github pages -->
|
||||||
<!-- - [Allure Test Reports](https://waku-org.github.io/waku-interop-tests/3/) are published via github pages -->
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Licensed and distributed under either of
|
Licensed and distributed under either of
|
||||||
|
|
||||||
- MIT license: [LICENSE-MIT](https://github.com/waku-org/js-waku/blob/master/LICENSE-MIT) or http://opensource.org/licenses/MIT
|
- MIT license: [LICENSE-MIT](https://github.com/status-im/status-cli-tests/blob/master/LICENSE-MIT) or http://opensource.org/licenses/MIT
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
- Apache License, Version 2.0, ([LICENSE-APACHE-v2](https://github.com/waku-org/js-waku/blob/master/LICENSE-APACHE-v2) or http://www.apache.org/licenses/LICENSE-2.0)
|
- Apache License, Version 2.0, ([LICENSE-APACHE-v2](https://github.com/status-im/status-cli-tests/blob/master/LICENSE-APACHE-v2) or http://www.apache.org/licenses/LICENSE-2.0)
|
||||||
|
|
||||||
at your option. These files may not be copied, modified, or distributed except according to those terms.
|
at your option. These files may not be copied, modified, or distributed except according to those terms.
|
||||||
|
|
|
@ -7,14 +7,11 @@ cfgv==3.4.0
|
||||||
charset-normalizer==3.3.2
|
charset-normalizer==3.3.2
|
||||||
click==8.1.7
|
click==8.1.7
|
||||||
distlib==0.3.8
|
distlib==0.3.8
|
||||||
docker==7.0.0
|
|
||||||
execnet==2.0.2
|
execnet==2.0.2
|
||||||
filelock==3.13.1
|
filelock==3.13.1
|
||||||
identify==2.5.33
|
identify==2.5.33
|
||||||
idna==3.7
|
idna==3.7
|
||||||
iniconfig==2.0.0
|
iniconfig==2.0.0
|
||||||
marshmallow==3.20.1
|
|
||||||
marshmallow-dataclass==8.6.0
|
|
||||||
mypy-extensions==1.0.0
|
mypy-extensions==1.0.0
|
||||||
nodeenv==1.8.0
|
nodeenv==1.8.0
|
||||||
packaging==23.2
|
packaging==23.2
|
||||||
|
|
|
@ -15,9 +15,9 @@ class TestNodes(StepsCommon):
|
||||||
# Send messages from Charlie to Alice and from Alice to Charlie
|
# Send messages from Charlie to Alice and from Alice to Charlie
|
||||||
for i in range(num_messages):
|
for i in range(num_messages):
|
||||||
timestamp_charlie, message_charlie = self.send_message_with_timestamp(self.node_charlie, self.alice_pubkey, f"message_from_charlie_{i}")
|
timestamp_charlie, message_charlie = self.send_message_with_timestamp(self.node_charlie, self.alice_pubkey, f"message_from_charlie_{i}")
|
||||||
sleep(10)
|
sleep(2)
|
||||||
timestamp_alice, message_alice = self.send_message_with_timestamp(self.node_alice, self.charlie_pubkey, f"message_from_alice_{i}")
|
timestamp_alice, message_alice = self.send_message_with_timestamp(self.node_alice, self.charlie_pubkey, f"message_from_alice_{i}")
|
||||||
sleep(10)
|
sleep(2)
|
||||||
messages.append((timestamp_charlie, message_charlie, "charlie"))
|
messages.append((timestamp_charlie, message_charlie, "charlie"))
|
||||||
messages.append((timestamp_alice, message_alice, "alice"))
|
messages.append((timestamp_alice, message_alice, "alice"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue