Skip to content

Commit cf8bf64

Browse files
committed
sending debug content to compare remote test results to local tests results, will revert part II
1 parent 43a9294 commit cf8bf64

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tests/unit/test_spanner.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,10 @@ def test_transaction_for_concurrent_statement_should_begin_one_transaction_with_
10711071
)
10721072

10731073
self.assertEqual(api.execute_batch_dml.call_count, 2)
1074-
a = mock.call(
1074+
1075+
call_args_list = api.execute_batch_dml.call_args_list
1076+
1077+
a11 = mock.call(
10751078
request=self._batch_update_expected_request(),
10761079
metadata=[
10771080
("google-cloud-resource-prefix", database.name),
@@ -1084,7 +1087,7 @@ def test_transaction_for_concurrent_statement_should_begin_one_transaction_with_
10841087
retry=RETRY,
10851088
timeout=TIMEOUT,
10861089
)
1087-
b = mock.call(
1090+
b21 = mock.call(
10881091
request=self._batch_update_expected_request(begin=False),
10891092
metadata=[
10901093
("google-cloud-resource-prefix", database.name),
@@ -1097,8 +1100,8 @@ def test_transaction_for_concurrent_statement_should_begin_one_transaction_with_
10971100
retry=RETRY,
10981101
timeout=TIMEOUT,
10991102
)
1100-
print("A: ", a)
1101-
print("B: ", b)
1103+
print("\nDINOSAUR CALL_ARGS_LIST: ", call_args_list)
1104+
print("\nDINOSAUR BOTH: ", [a11, b21])
11021105

11031106
self.assertEqual(
11041107
api.execute_batch_dml.call_args_list,

0 commit comments

Comments
 (0)