From 10ca249293fa81c7045a429b6c24561a07bab025 Mon Sep 17 00:00:00 2001 From: hroff-1902 Date: Sun, 20 Oct 2019 22:43:00 +0300 Subject: [PATCH] Fix fluky test --- tests/test_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_utils.py b/tests/test_utils.py index 880a3762e..3993787a6 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -174,9 +174,11 @@ def test_list_markets(mocker, markets, capsys): args = [ "list-markets", ] + pargs = get_args(args) + pargs['config'] = None with pytest.raises(OperationalException, 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 args = [