@@ -53,9 +53,9 @@ def images_output_uris(images_output_folder: str) -> list[str]:
5353
5454def test_blob_exif (
5555 bq_connection : str ,
56- test_session : bigframes .Session ,
56+ session : bigframes .Session ,
5757):
58- exif_image_df = test_session .from_glob_path (
58+ exif_image_df = session .from_glob_path (
5959 "gs://bigframes_blob_test/images_exif/*" ,
6060 name = "blob_col" ,
6161 connection = bq_connection ,
@@ -64,7 +64,7 @@ def test_blob_exif(
6464 actual = exif_image_df ["blob_col" ].blob .exif (connection = bq_connection )
6565 expected = bpd .Series (
6666 ['{"ExifOffset": 47, "Make": "MyCamera"}' ],
67- session = test_session ,
67+ session = session ,
6868 dtype = dtypes .JSON_DTYPE ,
6969 )
7070 pd .testing .assert_series_equal (
@@ -79,9 +79,9 @@ def test_blob_image_blur_to_series(
7979 images_mm_df : bpd .DataFrame ,
8080 bq_connection : str ,
8181 images_output_uris : list [str ],
82- test_session : bigframes .Session ,
82+ session : bigframes .Session ,
8383):
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 (
8585 connection = bq_connection
8686 )
8787
@@ -147,9 +147,9 @@ def test_blob_image_resize_to_series(
147147 images_mm_df : bpd .DataFrame ,
148148 bq_connection : str ,
149149 images_output_uris : list [str ],
150- test_session : bigframes .Session ,
150+ session : bigframes .Session ,
151151):
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 (
153153 connection = bq_connection
154154 )
155155
@@ -217,9 +217,9 @@ def test_blob_image_normalize_to_series(
217217 images_mm_df : bpd .DataFrame ,
218218 bq_connection : str ,
219219 images_output_uris : list [str ],
220- test_session : bigframes .Session ,
220+ session : bigframes .Session ,
221221):
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 (
223223 connection = bq_connection
224224 )
225225
0 commit comments