Fix tests run in random order (#599)

* allow tests to run in random mode

* Fix random test mode for fiat-convert

* allow random test execution in persistence

* fix pep8 styling

* use "usefixtures" to prevent pylint "unused parameter" message

* add pytest-random-order to travis
This commit is contained in:
Matthias
2018-04-07 20:06:53 +02:00
committed by gcarq
parent f4077a51c1
commit 23e989d31f
5 changed files with 23 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ def get_patched_freqtradebot(mocker, config) -> FreqtradeBot:
return FreqtradeBot(config, create_engine('sqlite://'))
@pytest.fixture(scope="module")
@pytest.fixture(scope="function")
def default_conf():
""" Returns validated configuration suitable for most tests """
configuration = {