Skip to content

Commit

Permalink
fix: pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
friday committed Apr 22, 2024
1 parent a94876f commit 32f6290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/modes/apps/test_AppResult.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_search_score(self, app1):

def test_on_activation(self, app1, mocker, app_starts):
launch_app = mocker.patch("ulauncher.modes.apps.AppResult.launch_app")
assert app1.on_activation(Query("query")) is launch_app.return_value
app1.on_activation(Query("query"))
launch_app.assert_called_with("trueapp.desktop")
assert app_starts.get("trueapp.desktop") == 766

Expand Down

0 comments on commit 32f6290

Please sign in to comment.