Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit ac0f9a1

Browse files
fix unit tests
1 parent 176c861 commit ac0f9a1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/unit/functions/test_remote_function.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ def my_remote_func(x: int) -> int:
6262

6363
deployed = session.deploy_udf(my_remote_func)
6464

65-
# Test that the function would have been deployed somewhere.
66-
assert deployed.bigframes_bigquery_function
65+
assert deployed.udf_def is not None
6766

6867

6968
def test_deploy_udf_with_name():
@@ -74,5 +73,4 @@ def my_remote_func(x: int) -> int:
7473

7574
deployed = session.deploy_udf(my_remote_func, name="my_custom_name")
7675

77-
# Test that the function would have been deployed somewhere.
78-
assert "my_custom_name" in deployed.bigframes_bigquery_function
76+
assert deployed.udf_def is not None

0 commit comments

Comments
 (0)