Skip to content

Commit

Permalink
fixup! fixup! Reuse same setup and assertion
Browse files Browse the repository at this point in the history
Signed-off-by: Breno Costa <brenocosta0901@gmail.com>
  • Loading branch information
breno-costa committed May 16, 2024
1 parent 5d01195 commit 8c0d2af
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,10 @@ def assert_feature_store_universal_feature_views_response(df: pd.DataFrame):

@pytest.mark.integration
@pytest.mark.universal_online_stores
@pytest.mark.parametrize("full_feature_names", [True, False], ids=lambda v: str(v))
def test_online_retrieval_with_event_timestamps(
environment, universal_data_sources, full_feature_names
):
fs = setup_feature_store_universal_feature_views(universal_data_sources)
def test_online_retrieval_with_event_timestamps(environment, universal_data_sources):
fs = setup_feature_store_universal_feature_views(
environment, universal_data_sources
)

response = fs.get_online_features(
features=[
Expand All @@ -481,7 +480,9 @@ def test_online_retrieval_with_event_timestamps(
def test_async_online_retrieval_with_event_timestamps(
environment, universal_data_sources
):
fs = setup_feature_store_universal_feature_views(universal_data_sources)
fs = setup_feature_store_universal_feature_views(
environment, universal_data_sources
)

response = asyncio.run(
fs.get_online_features_async(
Expand Down

0 comments on commit 8c0d2af

Please sign in to comment.