Skip to content

Commit

Permalink
updated local feature store test
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Javier Arceo <[email protected]>
  • Loading branch information
franciscojavierarceo committed Oct 5, 2024
1 parent 9aff889 commit acc7b7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def test_apply_dummy_entity_and_feature_view_columns(test_feature_store):
assert fv_with_entity.entity_columns == []

# Register Feature View
test_feature_store.apply([e1, fv_no_entity])
test_feature_store.apply([e1, fv_no_entity, fv_with_entity])
fv_from_online_store = test_feature_store.get_feature_view(
"my_feature_view_no_entity"
)
Expand All @@ -395,6 +395,7 @@ def test_apply_dummy_entity_and_feature_view_columns(test_feature_store):
assert fv_from_online_store.entity_columns[0].name == DUMMY_ENTITY_ID
assert fv_from_online_store.entities == []
assert fv_no_entity.entities == [DUMMY_ENTITY_NAME]
assert fv_with_entity.entity_columns[0] == e1.join_key

test_feature_store.teardown()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
Int64,
String,
UnixTimestamp,
_utc_now,
ValueType,
_utc_now,
from_value_type,
)

Expand Down

0 comments on commit acc7b7f

Please sign in to comment.