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 ```