@@ -274,8 +274,8 @@ def test_sweep_deletes_only_viewer_owned_bgagent_emojis(self, monkeypatch):
274274 "linear_reactions.requests.post" ,
275275 side_effect = [
276276 _ok_response (reaction_id = "r-new-eyes" ), # new 👀 (first, user-visible)
277- _viewer_response ("viewer-bot" ), # sweep: viewer fetch
278- _reactions_response (prior_reactions ), # sweep: reactions query
277+ _viewer_response ("viewer-bot" ), # sweep: viewer fetch
278+ _reactions_response (prior_reactions ), # sweep: reactions query
279279 delete_resp , # delete r-bot-eyes
280280 delete_resp , # delete r-bot-check
281281 delete_resp , # delete r-bot-x
@@ -359,11 +359,11 @@ def test_viewer_id_cached_across_calls(self, monkeypatch):
359359 with patch (
360360 "linear_reactions.requests.post" ,
361361 side_effect = [
362- _ok_response (reaction_id = "r-1" ), # 1st call's 👀
363- _viewer_response ("viewer-bot" ), # 1st call's viewer fetch (sweep)
364- _empty_reactions_response (), # 1st call's reactions query (sweep)
365- _ok_response (reaction_id = "r-2" ), # 2nd call's 👀
366- _empty_reactions_response (), # 2nd call's reactions only (cached viewer)
362+ _ok_response (reaction_id = "r-1" ), # 1st call's 👀
363+ _viewer_response ("viewer-bot" ), # 1st call's viewer fetch (sweep)
364+ _empty_reactions_response (), # 1st call's reactions query (sweep)
365+ _ok_response (reaction_id = "r-2" ), # 2nd call's 👀
366+ _empty_reactions_response (), # 2nd call's reactions only (cached viewer)
367367 ],
368368 ) as post :
369369 react_task_started ("linear" , {"linear_issue_id" : "issue-1" })
0 commit comments