Skip to content

Commit 9c4e939

Browse files
committed
one more test assert
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent d930064 commit 9c4e939

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
from feast import Feature, FileSource, RequestSource
2525
from feast.data_format import ParquetFormat
2626
from feast.entity import Entity
27+
from feast.errors import FeatureViewNotFoundException
2728
from feast.feature_view import FeatureView
2829
from feast.field import Field
2930
from feast.infra.registry_stores.sql import SqlRegistry
@@ -259,6 +260,9 @@ def location_features_from_push(inputs: pd.DataFrame) -> pd.DataFrame:
259260

260261
project = "project"
261262

263+
with pytest.raises(FeatureViewNotFoundException):
264+
sql_registry.get_user_metadata(project, location_features_from_push)
265+
262266
# Register Feature View
263267
sql_registry.apply_feature_view(location_features_from_push, project)
264268

0 commit comments

Comments
 (0)