updated unit test - this file was trying to create a dir in / of the host OS, should never have worked?

updated configuration.py call to os to be more pythony!
This commit is contained in:
creslinux
2018-06-03 22:30:25 +03:00
parent 343ca8fe19
commit 732523544f
2 changed files with 7 additions and 7 deletions

View File

@@ -266,14 +266,14 @@ def test_setup_configuration_with_arguments(mocker, default_conf, caplog) -> Non
arglist = [
'--config', 'config.json',
'--strategy', 'DefaultStrategy',
'--datadir', '/foo/bar',
'--datadir', 'freqtrade/tests/testdata/',
'backtesting',
'--ticker-interval', '1m',
'--live',
'--realistic-simulation',
'--refresh-pairs-cached',
'--timerange', ':100',
'--export', '/bar/foo'
'--export', 'user_data/data'
]
args = Arguments(arglist, '').get_parsed_arg()