Fix fluky test
This commit is contained in:
parent
d6b6ded8bd
commit
10ca249293
@ -174,9 +174,11 @@ def test_list_markets(mocker, markets, capsys):
|
|||||||
args = [
|
args = [
|
||||||
"list-markets",
|
"list-markets",
|
||||||
]
|
]
|
||||||
|
pargs = get_args(args)
|
||||||
|
pargs['config'] = None
|
||||||
with pytest.raises(OperationalException,
|
with pytest.raises(OperationalException,
|
||||||
match=r"This command requires a configured exchange.*"):
|
match=r"This command requires a configured exchange.*"):
|
||||||
start_list_markets(get_args(args), False)
|
start_list_markets(pargs, False)
|
||||||
|
|
||||||
# Test with --config config.json.example
|
# Test with --config config.json.example
|
||||||
args = [
|
args = [
|
||||||
|
Loading…
Reference in New Issue
Block a user