From 20d0af12397b6bb7ad7ae652e67db7c5ecac61ef Mon Sep 17 00:00:00 2001 From: asaf-erlich Date: Tue, 9 Mar 2021 07:02:38 -0800 Subject: Replace with start date from tap tester env variable to ensure data exists in test (#31) --- tests/tap_combined_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/tap_combined_test.py b/tests/tap_combined_test.py index 5e2a3c5..da8fd98 100644 --- a/tests/tap_combined_test.py +++ b/tests/tap_combined_test.py @@ -51,7 +51,7 @@ class TapCombinedTest(unittest.TestCase): def get_properties(self): return_value = { - 'start_date': dt.strftime(dt.utcnow() - timedelta(days=3), self.START_DATE_FORMAT), + 'start_date': os.getenv("TAP_GOOGLE_SHEETS_START_DATE"), 'spreadsheet_id': os.getenv("TAP_GOOGLE_SHEETS_SPREADSHEET_ID") } -- cgit v1.2.3