From 6cbea10b83396fb5bf007c56d7553f71058337b8 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 26 Feb 2019 19:15:53 -0500 Subject: [PATCH] Forgot an error --- tests/conftest.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 956b55e1..5d8cac45 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -58,8 +58,10 @@ def travis(): try: async with questrade.get_client(ask_user=False): pass - - except (KeyError, ValueError, questrade.BrokerError): + except ( + KeyError, ValueError, + questrade.BrokerError, questrade.QuestradeError + ): # 3 cases: # - config doesn't have a ``refresh_token`` k/v # - cache dir does not exist yet