Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davitbzh committed Nov 1, 2023
1 parent 6e757a0 commit 896271a
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions python/tests/core/test_feature_view_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,15 @@ def test_read_dir_from_storage_connector(self, mocker):

# Act
fv_engine._read_dir_from_storage_connector(
training_data_obj=td, path="test", read_options=None
training_data_obj=td,
path="test",
read_options=None,
with_primary_keys=None,
primary_keys=None,
with_event_time=None,
event_time=None,
with_training_helper_columns=None,
training_helper_columns=None,
)

# Assert
Expand Down Expand Up @@ -1216,7 +1224,15 @@ def test_read_dir_from_storage_connector_file_not_found(self, mocker):
# Act
with pytest.raises(FileNotFoundError) as e_info:
fv_engine._read_dir_from_storage_connector(
training_data_obj=td, path="test", read_options=None
training_data_obj=td,
path="test",
read_options=None,
with_primary_keys=None,
primary_keys=None,
with_event_time=None,
event_time=None,
with_training_helper_columns=None,
training_helper_columns=None,
)

# Assert
Expand Down

0 comments on commit 896271a

Please sign in to comment.