From 308ceb1772ad092eee5d9ceb8ab03327108f6315 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 10 Feb 2019 17:28:43 -0500 Subject: [PATCH] Use search method for `piker api` test --- tests/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index ec46c004..26065245 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -75,7 +75,7 @@ def test_quotes_ticker_not_found( def test_api_method(nyse_tickers, capfd): """Ensure a low level api method can be called via CLI. """ - run(f"piker api quotes symbols={','.join(nyse_tickers)}") + run(f"piker api search prefix='WEED'") out, err = capfd.readouterr() quotes_dict = json.loads(out) assert isinstance(quotes_dict, dict)