From f2cbc5fb8ffb3847df0bfbaa9b0e101c06ab9a0e Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 8 Sep 2019 09:55:02 +0200 Subject: [PATCH] Fix documentation references to tests folder --- CONTRIBUTING.md | 6 +++--- docs/developer.md | 2 +- docs/plotting.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e15059f56..aac25a423 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,19 +28,19 @@ make it pass. It means you have introduced a regression. #### Test the whole project ```bash -pytest freqtrade +pytest ``` #### Test only one file ```bash -pytest freqtrade/tests/test_.py +pytest tests/test_.py ``` #### Test only one method from one file ```bash -pytest freqtrade/tests/test_.py::test_ +pytest tests/test_.py::test_ ``` ### 2. Test if your code is PEP8 compliant diff --git a/docs/developer.md b/docs/developer.md index 259bfafd8..b048cf93f 100644 --- a/docs/developer.md +++ b/docs/developer.md @@ -30,7 +30,7 @@ These are available from `conftest.py` and can be imported in any test module. A sample check looks as follows: ``` python -from freqtrade.tests.conftest import log_has, log_has_re +from tests.conftest import log_has, log_has_re def test_method_to_test(caplog): method_to_test() diff --git a/docs/plotting.md b/docs/plotting.md index 61bf7b74a..4deb6db12 100644 --- a/docs/plotting.md +++ b/docs/plotting.md @@ -179,5 +179,5 @@ freqtrade plot-profit -p LTC/BTC --db-url sqlite:///tradesv3.sqlite --trade-sou ``` ``` bash -freqtrade plot-profit --datadir ../freqtrade/freqtrade/tests/testdata-20171221/ -p LTC/BTC +freqtrade plot-profit --datadir user_data/data/binance_save/ -p LTC/BTC ```