From 19bef8d2f902ddafd32dfb34641729e25639fbd7 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Wed, 12 Jun 2024 19:55:43 -0400 Subject: [PATCH] test: update the results of test based on change to hacker news data (#1949) * test: update the results of test based on change to hacker news data * Update tests/system/test_client.py --------- Co-authored-by: Lingqing Gan --- tests/system/test_client.py | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/tests/system/test_client.py b/tests/system/test_client.py index 862ef3245..95c679a14 100644 --- a/tests/system/test_client.py +++ b/tests/system/test_client.py @@ -1788,20 +1788,35 @@ def test_dbapi_fetch_w_bqstorage_client_large_result_set(self): # in the sorted order. expected_data = [ + [ + ("by", "pg"), + ("id", 1), + ( + "timestamp", + datetime.datetime( + 2006, 10, 9, 18, 21, 51, tzinfo=datetime.timezone.utc + ), + ), + ], [ ("by", "phyllis"), ("id", 2), - ("timestamp", datetime.datetime(2006, 10, 9, 18, 30, 28, tzinfo=UTC)), + ( + "timestamp", + datetime.datetime( + 2006, 10, 9, 18, 30, 28, tzinfo=datetime.timezone.utc + ), + ), ], [ ("by", "phyllis"), ("id", 3), - ("timestamp", datetime.datetime(2006, 10, 9, 18, 40, 33, tzinfo=UTC)), - ], - [ - ("by", "onebeerdave"), - ("id", 4), - ("timestamp", datetime.datetime(2006, 10, 9, 18, 47, 42, tzinfo=UTC)), + ( + "timestamp", + datetime.datetime( + 2006, 10, 9, 18, 40, 33, tzinfo=datetime.timezone.utc + ), + ), ], ]