diff --git a/sdk/python/tests/integration/registration/test_sql_registry.py b/sdk/python/tests/integration/registration/test_sql_registry.py index 029efff596..c96d83ce0a 100644 --- a/sdk/python/tests/integration/registration/test_sql_registry.py +++ b/sdk/python/tests/integration/registration/test_sql_registry.py @@ -24,6 +24,7 @@ from feast import Feature, FileSource, RequestSource from feast.data_format import ParquetFormat from feast.entity import Entity +from feast.errors import FeatureViewNotFoundException from feast.feature_view import FeatureView from feast.field import Field from feast.infra.registry_stores.sql import SqlRegistry @@ -259,6 +260,9 @@ def location_features_from_push(inputs: pd.DataFrame) -> pd.DataFrame: project = "project" + with pytest.raises(FeatureViewNotFoundException): + sql_registry.get_user_metadata(project, location_features_from_push) + # Register Feature View sql_registry.apply_feature_view(location_features_from_push, project)