We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69efed4 commit 2e203eaCopy full SHA for 2e203ea
tests/system/small/session/test_session_logging.py
@@ -28,15 +28,11 @@ def test_data_type_logging(scalars_df_index):
28
) as mock_query:
29
s.to_pandas()
30
31
- # Verify call args
+ # Fetch job labels sent to the BQ client and verify their values
32
assert mock_query.called
33
call_args = mock_query.call_args
34
job_config = call_args.kwargs.get("job_config")
35
-
36
- # Verify we actually got a job_config
37
assert job_config is not None
38
39
- # Use the captured job_config for assertions
40
job_labels = job_config.labels
41
assert "bigframes-dtypes" in job_labels
42
assert job_labels["bigframes-dtypes"] == data_types.encode_type_refs(
0 commit comments