You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nico
0a3862a5b2
|
12 months ago | |
---|---|---|
.. | ||
derivative | 12 months ago | |
exchange | 12 months ago | |
.gitignore | 12 months ago | |
README.md | 12 months ago | |
__init__.py | 12 months ago | |
test_in_flight_order_base.py | 12 months ago | |
test_parrot.py | 12 months ago |
README.md
Unit Testing
Create a new environment called MOCK_API_ENABLED
that switches between normal unit tests and mock tests.
export MOCK_API_ENABLED=true
Before running the tests, make sure conda
environment is enabled.
conda activate hummingbot
Run nosetests from hummingbot/test/integration
directory and add -v
for logging to see what the tests are doing and what errors come up.
nosetests -v test_binance_market.py
Markets that currently can run unit mock testing:
- Binance
- Coinbase Pro
- Huobi
- KuCoin