@@ -53,9 +53,9 @@ def images_output_uris(images_output_folder: str) -> list[str]:
53
53
54
54
def test_blob_exif (
55
55
bq_connection : str ,
56
- test_session : bigframes .Session ,
56
+ session : bigframes .Session ,
57
57
):
58
- exif_image_df = test_session .from_glob_path (
58
+ exif_image_df = session .from_glob_path (
59
59
"gs://bigframes_blob_test/images_exif/*" ,
60
60
name = "blob_col" ,
61
61
connection = bq_connection ,
@@ -64,7 +64,7 @@ def test_blob_exif(
64
64
actual = exif_image_df ["blob_col" ].blob .exif (connection = bq_connection )
65
65
expected = bpd .Series (
66
66
['{"ExifOffset": 47, "Make": "MyCamera"}' ],
67
- session = test_session ,
67
+ session = session ,
68
68
dtype = dtypes .JSON_DTYPE ,
69
69
)
70
70
pd .testing .assert_series_equal (
@@ -79,9 +79,9 @@ def test_blob_image_blur_to_series(
79
79
images_mm_df : bpd .DataFrame ,
80
80
bq_connection : str ,
81
81
images_output_uris : list [str ],
82
- test_session : bigframes .Session ,
82
+ session : bigframes .Session ,
83
83
):
84
- series = bpd .Series (images_output_uris , session = test_session ).str .to_blob (
84
+ series = bpd .Series (images_output_uris , session = session ).str .to_blob (
85
85
connection = bq_connection
86
86
)
87
87
@@ -147,9 +147,9 @@ def test_blob_image_resize_to_series(
147
147
images_mm_df : bpd .DataFrame ,
148
148
bq_connection : str ,
149
149
images_output_uris : list [str ],
150
- test_session : bigframes .Session ,
150
+ session : bigframes .Session ,
151
151
):
152
- series = bpd .Series (images_output_uris , session = test_session ).str .to_blob (
152
+ series = bpd .Series (images_output_uris , session = session ).str .to_blob (
153
153
connection = bq_connection
154
154
)
155
155
@@ -217,9 +217,9 @@ def test_blob_image_normalize_to_series(
217
217
images_mm_df : bpd .DataFrame ,
218
218
bq_connection : str ,
219
219
images_output_uris : list [str ],
220
- test_session : bigframes .Session ,
220
+ session : bigframes .Session ,
221
221
):
222
- series = bpd .Series (images_output_uris , session = test_session ).str .to_blob (
222
+ series = bpd .Series (images_output_uris , session = session ).str .to_blob (
223
223
connection = bq_connection
224
224
)
225
225
0 commit comments