diff --git a/scripts/functional_tests.py b/scripts/functional_tests.py index 9b4e9c3..4f2b422 100644 --- a/scripts/functional_tests.py +++ b/scripts/functional_tests.py @@ -110,8 +110,12 @@ async def read_stream(): parser.add_argument('--account_id', type=int, required=True) parser.add_argument('--api_key', type=str, required=True) parser.add_argument('--allow_balances', action='store_true', default=False) + parser.add_argument('--verbose', action='store_true', default=False) args = parser.parse_args() + if args.verbose: + logging.getLogger('').setLevel(logging.DEBUG) + FunctionalTests.set_client( tda.auth.client_from_token_file(args.token, args.api_key))