Skip to content

Commit d930064

Browse files
committed
tests
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent 7446c20 commit d930064

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

sdk/python/tests/integration/registration/test_sql_registry.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,12 @@ def location_features_from_push(inputs: pd.DataFrame) -> pd.DataFrame:
262262
# Register Feature View
263263
sql_registry.apply_feature_view(location_features_from_push, project)
264264

265+
assert not sql_registry.get_user_metadata(project, location_features_from_push)
266+
267+
b = "metadata".encode("utf-8")
268+
sql_registry.apply_user_metadata(project, location_features_from_push, b)
269+
assert sql_registry.get_user_metadata(project, location_features_from_push) == b
270+
265271
feature_views = sql_registry.list_on_demand_feature_views(project)
266272

267273
# List Feature Views

0 commit comments

Comments
 (0)