Skip to content

Commit acc7b7f

Browse files
updated local feature store test
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
1 parent 9aff889 commit acc7b7f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

sdk/python/tests/unit/local_feast_tests/test_local_feature_store.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def test_apply_dummy_entity_and_feature_view_columns(test_feature_store):
386386
assert fv_with_entity.entity_columns == []
387387

388388
# Register Feature View
389-
test_feature_store.apply([e1, fv_no_entity])
389+
test_feature_store.apply([e1, fv_no_entity, fv_with_entity])
390390
fv_from_online_store = test_feature_store.get_feature_view(
391391
"my_feature_view_no_entity"
392392
)
@@ -395,6 +395,7 @@ def test_apply_dummy_entity_and_feature_view_columns(test_feature_store):
395395
assert fv_from_online_store.entity_columns[0].name == DUMMY_ENTITY_ID
396396
assert fv_from_online_store.entities == []
397397
assert fv_no_entity.entities == [DUMMY_ENTITY_NAME]
398+
assert fv_with_entity.entity_columns[0] == e1.join_key
398399

399400
test_feature_store.teardown()
400401

sdk/python/tests/unit/test_on_demand_python_transformation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
Int64,
3030
String,
3131
UnixTimestamp,
32-
_utc_now,
3332
ValueType,
33+
_utc_now,
3434
from_value_type,
3535
)
3636

0 commit comments

Comments
 (0)