diff options
author | asaf-erlich <aerlich@talend.com> | 2021-03-09 07:02:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 07:02:38 -0800 |
commit | 20d0af12397b6bb7ad7ae652e67db7c5ecac61ef (patch) | |
tree | 33fa3ded99a5546dde3cc0d0f5ce42af0877fef0 /tests | |
parent | 9079d8c763f989d76ca9616194a6672054122c75 (diff) | |
download | tap-google-sheets-20d0af12397b6bb7ad7ae652e67db7c5ecac61ef.tar.gz tap-google-sheets-20d0af12397b6bb7ad7ae652e67db7c5ecac61ef.tar.zst tap-google-sheets-20d0af12397b6bb7ad7ae652e67db7c5ecac61ef.zip |
Replace with start date from tap tester env variable to ensure data exists in test (#31)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tap_combined_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
51 | 51 | ||
52 | def get_properties(self): | 52 | def get_properties(self): |
53 | return_value = { | 53 | return_value = { |
54 | 'start_date': dt.strftime(dt.utcnow() - timedelta(days=3), self.START_DATE_FORMAT), | 54 | 'start_date': os.getenv("TAP_GOOGLE_SHEETS_START_DATE"), |
55 | 'spreadsheet_id': os.getenv("TAP_GOOGLE_SHEETS_SPREADSHEET_ID") | 55 | 'spreadsheet_id': os.getenv("TAP_GOOGLE_SHEETS_SPREADSHEET_ID") |
56 | } | 56 | } |
57 | 57 | ||