From 133d335015e0b989f9e61b87638510e0f802133b Mon Sep 17 00:00:00 2001 From: John Mizerany Date: Thu, 30 Nov 2023 09:42:05 -0600 Subject: [PATCH] add env variables --- tests/test_core.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_core.py b/tests/test_core.py index 0aafe31..93a9e26 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1,5 +1,6 @@ """Tests standard tap features using the built-in SDK tests library.""" +import os import datetime from singer_sdk.testing import get_tap_test_class @@ -8,8 +9,8 @@ SAMPLE_CONFIG = { "start_date": datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d"), - "api_token": "xxx", - "account_token": "xxx" + "api_token": os.environ.get("TAP_FLEETIO_API_TOKEN"), + "account_token": os.environ.get("TAP_FLEETIO_ACCOUNT_TOKEN") }