Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstinalin committed Jan 7, 2025
1 parent 9057e28 commit 5fb7e68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/olympia/addons/tests/test_utils_.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def test_recommended(self, incr_mock):
def test_recommended_no_results(self, incr_mock):
self.recommendation_server_mock.return_value = []
recommendations, outcome, reason = get_addon_recommendations('a@b', True)
# If there's no results, it takes the first four fallback recommendations
assert recommendations == TAAR_LITE_FALLBACKS[:4]
assert outcome == TAAR_LITE_OUTCOME_REAL_FAIL
assert reason is TAAR_LITE_FALLBACK_REASON_EMPTY
Expand Down

0 comments on commit 5fb7e68

Please sign in to comment.