Skip to content

Commit

Permalink
Adds verbosity to functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgolec committed Sep 21, 2021
1 parent 7c670a8 commit cf30dbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/functional_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit cf30dbe

Please sign in to comment.