Skip to content

Commit fb38d47

Browse files
committed
fixed tests
1 parent e79f9d4 commit fb38d47

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

tests/unit/data/_async/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1334,6 +1334,7 @@ def test_table_ctor_sync(self):
13341334
core_exceptions.DeadlineExceeded,
13351335
core_exceptions.ServiceUnavailable,
13361336
core_exceptions.Aborted,
1337+
core_exceptions.Cancelled,
13371338
],
13381339
),
13391340
(
@@ -1832,7 +1833,6 @@ async def test_read_rows_retryable_error(self, exc_type):
18321833
@pytest.mark.parametrize(
18331834
"exc_type",
18341835
[
1835-
core_exceptions.Cancelled,
18361836
core_exceptions.PreconditionFailed,
18371837
core_exceptions.NotFound,
18381838
core_exceptions.PermissionDenied,

tests/unit/data/_async/test_mutations_batcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,7 @@ def test__add_exceptions(self, limit, in_e, start_e, end_e):
11691169
core_exceptions.DeadlineExceeded,
11701170
core_exceptions.ServiceUnavailable,
11711171
core_exceptions.Aborted,
1172+
core_exceptions.Cancelled,
11721173
],
11731174
),
11741175
(

tests/unit/data/_sync_autogen/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,7 @@ def test_ctor_invalid_timeout_values(self):
10631063
core_exceptions.DeadlineExceeded,
10641064
core_exceptions.ServiceUnavailable,
10651065
core_exceptions.Aborted,
1066+
core_exceptions.Cancelled,
10661067
],
10671068
),
10681069
(
@@ -1507,7 +1508,6 @@ def test_read_rows_retryable_error(self, exc_type):
15071508
@pytest.mark.parametrize(
15081509
"exc_type",
15091510
[
1510-
core_exceptions.Cancelled,
15111511
core_exceptions.PreconditionFailed,
15121512
core_exceptions.NotFound,
15131513
core_exceptions.PermissionDenied,

tests/unit/data/_sync_autogen/test_mutations_batcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,6 +1021,7 @@ def test__add_exceptions(self, limit, in_e, start_e, end_e):
10211021
core_exceptions.DeadlineExceeded,
10221022
core_exceptions.ServiceUnavailable,
10231023
core_exceptions.Aborted,
1024+
core_exceptions.Cancelled,
10241025
],
10251026
),
10261027
(

0 commit comments

Comments
 (0)