Adapt test after merging develop

This commit is contained in:
Matthias
2019-06-21 19:31:18 +02:00
parent 5d6819bb28
commit a581ca66bf
2 changed files with 3 additions and 0 deletions

View File

@@ -195,6 +195,7 @@ def test_plot_dataframe_options() -> None:
'-p', 'UNITTEST/BTC',
]
arguments = Arguments(args, '')
arguments.common_scripts_options()
arguments.plot_dataframe_options()
pargs = arguments.parse_args(True)
assert pargs.indicators1 == "sma10,sma100"
@@ -205,6 +206,7 @@ def test_plot_dataframe_options() -> None:
# Pop pairs argument
args = args[:-2]
arguments = Arguments(args, '')
arguments.common_scripts_options()
arguments.plot_dataframe_options()
with pytest.raises(SystemExit, match=r'2'):
arguments.parse_args(True)