Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
MalvinaNikandrou committed Dec 2, 2023
1 parent 6680d77 commit 74ea97b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/fixtures/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ def custom_response(request: httpx.Request) -> httpx.Response: # noqa: WPS430
def mock_feature_extraction_response(monkeypatch: MonkeyPatch) -> None:
"""Mock get_features from the SimBotFeaturesClient."""

def mock_get_features(*args: Any, **kwargs: Any) -> list[EmmaExtractedFeatures]: # noqa: WPS430
def mock_features(*args: Any, **kwargs: Any) -> list[EmmaExtractedFeatures]: # noqa: WPS430
features = create_placeholder_features_frames()
return features

monkeypatch.setattr(SimBotFeaturesClient, "get_features", mock_get_features)
monkeypatch.setattr(SimBotFeaturesClient, "get_features", mock_features)


@fixture
Expand Down

0 comments on commit 74ea97b

Please sign in to comment.