Don't require pairs but fall back to pair_whitelist instead
This commit is contained in:
@@ -444,7 +444,6 @@ class Arguments(object):
|
||||
'-p', '--pairs',
|
||||
help='Show profits for only this pairs. Pairs are comma-separated.',
|
||||
dest='pairs',
|
||||
required=True
|
||||
)
|
||||
|
||||
def download_data_options(self) -> None:
|
||||
|
@@ -203,14 +203,6 @@ def test_plot_dataframe_options() -> None:
|
||||
assert pargs.plot_limit == 30
|
||||
assert pargs.pairs == "UNITTEST/BTC"
|
||||
|
||||
# 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)
|
||||
|
||||
|
||||
def test_check_int_positive() -> None:
|
||||
|
||||
|
Reference in New Issue
Block a user