@@ -13,7 +13,7 @@ async def test_update_issue_title(app: App) -> None:
1313 from src .providers .models import RepoInfo
1414
1515 async with app .test_api () as ctx :
16- _ , bot = get_github_bot (ctx )
16+ _adapter , bot = get_github_bot (ctx )
1717
1818 github_handler = GithubHandler (
1919 bot = bot ,
@@ -45,7 +45,7 @@ async def test_update_issue_body(app: App) -> None:
4545 from src .providers .models import RepoInfo
4646
4747 async with app .test_api () as ctx :
48- _ , bot = get_github_bot (ctx )
48+ _adapter , bot = get_github_bot (ctx )
4949
5050 github_handler = GithubHandler (
5151 bot = bot ,
@@ -77,7 +77,7 @@ async def test_create_dispatch_event(app: App) -> None:
7777 from src .providers .models import RepoInfo
7878
7979 async with app .test_api () as ctx :
80- _ , bot = get_github_bot (ctx )
80+ _adapter , bot = get_github_bot (ctx )
8181
8282 github_handler = GithubHandler (
8383 bot = bot ,
@@ -112,7 +112,7 @@ async def test_list_comments(app: App, mocker: MockerFixture) -> None:
112112 mock_comments_resp .parsed_data = []
113113
114114 async with app .test_api () as ctx :
115- _ , bot = get_github_bot (ctx )
115+ _adapter , bot = get_github_bot (ctx )
116116
117117 github_handler = GithubHandler (
118118 bot = bot ,
@@ -145,7 +145,7 @@ async def test_create_comment(app: App) -> None:
145145 from src .providers .models import RepoInfo
146146
147147 async with app .test_api () as ctx :
148- _ , bot = get_github_bot (ctx )
148+ _adapter , bot = get_github_bot (ctx )
149149
150150 github_handler = GithubHandler (
151151 bot = bot ,
@@ -177,7 +177,7 @@ async def test_update_comment(app: App) -> None:
177177 from src .providers .models import RepoInfo
178178
179179 async with app .test_api () as ctx :
180- _ , bot = get_github_bot (ctx )
180+ _adapter , bot = get_github_bot (ctx )
181181
182182 github_handler = GithubHandler (
183183 bot = bot ,
@@ -212,7 +212,7 @@ async def test_comment_issue(app: App, mocker: MockerFixture) -> None:
212212 mock_comments_resp .parsed_data = []
213213
214214 async with app .test_api () as ctx :
215- _ , bot = get_github_bot (ctx )
215+ _adapter , bot = get_github_bot (ctx )
216216
217217 github_handler = GithubHandler (
218218 bot = bot ,
@@ -254,7 +254,7 @@ async def test_comment_issue_reuse(app: App, mocker: MockerFixture) -> None:
254254 mock_comments_resp .parsed_data = [mock_comment ]
255255
256256 async with app .test_api () as ctx :
257- _ , bot = get_github_bot (ctx )
257+ _adapter , bot = get_github_bot (ctx )
258258
259259 github_handler = GithubHandler (
260260 bot = bot ,
@@ -296,7 +296,7 @@ async def test_comment_issue_reuse_no_change(app: App, mocker: MockerFixture) ->
296296 mock_comments_resp .parsed_data = [mock_comment ]
297297
298298 async with app .test_api () as ctx :
299- _ , bot = get_github_bot (ctx )
299+ _adapter , bot = get_github_bot (ctx )
300300
301301 github_handler = GithubHandler (
302302 bot = bot ,
@@ -338,7 +338,7 @@ async def test_get_pull_requests_by_label(app: App, mocker: MockerFixture) -> No
338338 mock_pulls_resp .parsed_data = [mock_pull_bot , mock_pull_plugin ]
339339
340340 async with app .test_api () as ctx :
341- _ , bot = get_github_bot (ctx )
341+ _adapter , bot = get_github_bot (ctx )
342342
343343 github_handler = GithubHandler (
344344 bot = bot ,
@@ -370,7 +370,7 @@ async def test_get_pull_request_by_branch(app: App, mocker: MockerFixture) -> No
370370 mock_pulls_resp .parsed_data = [mock_pull ]
371371
372372 async with app .test_api () as ctx :
373- _ , bot = get_github_bot (ctx )
373+ _adapter , bot = get_github_bot (ctx )
374374
375375 github_handler = GithubHandler (
376376 bot = bot ,
@@ -403,7 +403,7 @@ async def test_get_pull_request_by_branch_empty(
403403 mock_pulls_resp .parsed_data = []
404404
405405 async with app .test_api () as ctx :
406- _ , bot = get_github_bot (ctx )
406+ _adapter , bot = get_github_bot (ctx )
407407
408408 github_handler = GithubHandler (
409409 bot = bot ,
@@ -435,7 +435,7 @@ async def test_get_pull_request(app: App, mocker: MockerFixture) -> None:
435435 mock_pull_resp .parsed_data = mock_pull
436436
437437 async with app .test_api () as ctx :
438- _ , bot = get_github_bot (ctx )
438+ _adapter , bot = get_github_bot (ctx )
439439
440440 github_handler = GithubHandler (
441441 bot = bot ,
@@ -472,7 +472,7 @@ async def test_draft_pull_request(app: App, mocker: MockerFixture) -> None:
472472 mock_pulls_resp .parsed_data = [mock_pull ]
473473
474474 async with app .test_api () as ctx :
475- _ , bot = get_github_bot (ctx )
475+ _adapter , bot = get_github_bot (ctx )
476476
477477 github_handler = GithubHandler (
478478 bot = bot ,
@@ -518,7 +518,7 @@ async def test_draft_pull_request_no_pr(app: App, mocker: MockerFixture) -> None
518518 mock_pulls_resp .parsed_data = []
519519
520520 async with app .test_api () as ctx :
521- _ , bot = get_github_bot (ctx )
521+ _adapter , bot = get_github_bot (ctx )
522522
523523 github_handler = GithubHandler (
524524 bot = bot ,
@@ -553,7 +553,7 @@ async def test_draft_pull_request_drafted(app: App, mocker: MockerFixture) -> No
553553 mock_pulls_resp .parsed_data = [mock_pull ]
554554
555555 async with app .test_api () as ctx :
556- _ , bot = get_github_bot (ctx )
556+ _adapter , bot = get_github_bot (ctx )
557557
558558 github_handler = GithubHandler (
559559 bot = bot ,
@@ -587,7 +587,7 @@ async def test_merge_pull_request(app: App, mocker: MockerFixture) -> None:
587587 mock_pull_resp .parsed_data = mock_pull
588588
589589 async with app .test_api () as ctx :
590- _ , bot = get_github_bot (ctx )
590+ _adapter , bot = get_github_bot (ctx )
591591
592592 github_handler = GithubHandler (
593593 bot = bot ,
@@ -630,7 +630,7 @@ async def test_update_pull_request_status(app: App, mocker: MockerFixture) -> No
630630 mock_pulls_resp .parsed_data = [mock_pull ]
631631
632632 async with app .test_api () as ctx :
633- _ , bot = get_github_bot (ctx )
633+ _adapter , bot = get_github_bot (ctx )
634634
635635 github_handler = GithubHandler (
636636 bot = bot ,
@@ -680,7 +680,7 @@ async def test_create_pull_request(app: App, mocker: MockerFixture) -> None:
680680 mock_pull_resp .parsed_data = mock_pull
681681
682682 async with app .test_api () as ctx :
683- _ , bot = get_github_bot (ctx )
683+ _adapter , bot = get_github_bot (ctx )
684684
685685 github_handler = GithubHandler (
686686 bot = bot ,
@@ -716,7 +716,7 @@ async def test_add_labels(app: App) -> None:
716716 from src .providers .models import RepoInfo
717717
718718 async with app .test_api () as ctx :
719- _ , bot = get_github_bot (ctx )
719+ _adapter , bot = get_github_bot (ctx )
720720
721721 github_handler = GithubHandler (
722722 bot = bot ,
@@ -748,7 +748,7 @@ async def test_ready_pull_request(app: App) -> None:
748748 from src .providers .models import RepoInfo
749749
750750 async with app .test_api () as ctx :
751- _ , bot = get_github_bot (ctx )
751+ _adapter , bot = get_github_bot (ctx )
752752
753753 github_handler = GithubHandler (
754754 bot = bot ,
@@ -784,7 +784,7 @@ async def test_update_pull_request_title(app: App) -> None:
784784 from src .providers .models import RepoInfo
785785
786786 async with app .test_api () as ctx :
787- _ , bot = get_github_bot (ctx )
787+ _adapter , bot = get_github_bot (ctx )
788788
789789 github_handler = GithubHandler (
790790 bot = bot ,
@@ -821,7 +821,7 @@ async def test_get_user_name(app: App, mocker: MockerFixture) -> None:
821821 mock_user_resp .parsed_data = mock_user
822822
823823 async with app .test_api () as ctx :
824- _ , bot = get_github_bot (ctx )
824+ _adapter , bot = get_github_bot (ctx )
825825
826826 github_handler = GithubHandler (
827827 bot = bot ,
@@ -853,7 +853,7 @@ async def test_get_user_id(app: App, mocker: MockerFixture) -> None:
853853 mock_user_resp .parsed_data = mock_user
854854
855855 async with app .test_api () as ctx :
856- _ , bot = get_github_bot (ctx )
856+ _adapter , bot = get_github_bot (ctx )
857857
858858 github_handler = GithubHandler (
859859 bot = bot ,
@@ -886,7 +886,7 @@ async def test_get_issue(app: App, mocker: MockerFixture) -> None:
886886 mock_issue_resp .parsed_data = mock_issue
887887
888888 async with app .test_api () as ctx :
889- _ , bot = get_github_bot (ctx )
889+ _adapter , bot = get_github_bot (ctx )
890890
891891 github_handler = GithubHandler (
892892 bot = bot ,
@@ -914,7 +914,7 @@ async def test_close_issue(app: App) -> None:
914914 from src .providers .models import RepoInfo
915915
916916 async with app .test_api () as ctx :
917- _ , bot = get_github_bot (ctx )
917+ _adapter , bot = get_github_bot (ctx )
918918
919919 github_handler = GithubHandler (
920920 bot = bot ,
@@ -952,7 +952,7 @@ async def test_to_issue_handler(app: App, mocker: MockerFixture) -> None:
952952 mock_issue_resp .parsed_data = mock_issue
953953
954954 async with app .test_api () as ctx :
955- _ , bot = get_github_bot (ctx )
955+ _adapter , bot = get_github_bot (ctx )
956956
957957 github_handler = GithubHandler (
958958 bot = bot ,
@@ -992,7 +992,7 @@ async def test_get_self_comment(app: App, mocker: MockerFixture) -> None:
992992 mock_comments_resp .parsed_data = [mock_comment_user , mock_comment_bot ]
993993
994994 async with app .test_api () as ctx :
995- _ , bot = get_github_bot (ctx )
995+ _adapter , bot = get_github_bot (ctx )
996996
997997 github_handler = GithubHandler (
998998 bot = bot ,
@@ -1033,7 +1033,7 @@ async def test_get_self_comment_not_found(app: App, mocker: MockerFixture) -> No
10331033 mock_comments_resp .parsed_data = [mock_comment_user ]
10341034
10351035 async with app .test_api () as ctx :
1036- _ , bot = get_github_bot (ctx )
1036+ _adapter , bot = get_github_bot (ctx )
10371037
10381038 github_handler = GithubHandler (
10391039 bot = bot ,
@@ -1067,7 +1067,7 @@ async def test_comment_issue_new(app: App, mocker: MockerFixture) -> None:
10671067 from src .providers .models import RepoInfo
10681068
10691069 async with app .test_api () as ctx :
1070- _ , bot = get_github_bot (ctx )
1070+ _adapter , bot = get_github_bot (ctx )
10711071
10721072 github_handler = GithubHandler (
10731073 bot = bot ,
@@ -1103,7 +1103,7 @@ async def test_comment_issue_update(app: App, mocker: MockerFixture) -> None:
11031103 mock_comment .id = 123
11041104
11051105 async with app .test_api () as ctx :
1106- _ , bot = get_github_bot (ctx )
1106+ _adapter , bot = get_github_bot (ctx )
11071107
11081108 github_handler = GithubHandler (
11091109 bot = bot ,
@@ -1139,7 +1139,7 @@ async def test_comment_issue_no_change(app: App, mocker: MockerFixture) -> None:
11391139 mock_comment .id = 123
11401140
11411141 async with app .test_api () as ctx :
1142- _ , bot = get_github_bot (ctx )
1142+ _adapter , bot = get_github_bot (ctx )
11431143
11441144 github_handler = GithubHandler (
11451145 bot = bot ,
@@ -1159,7 +1159,7 @@ async def test_download_artifact(app: App, mocker: MockerFixture) -> None:
11591159 mock_download_resp .content = b"mock artifact content"
11601160
11611161 async with app .test_api () as ctx :
1162- _ , bot = get_github_bot (ctx )
1162+ _adapter , bot = get_github_bot (ctx )
11631163
11641164 github_handler = GithubHandler (
11651165 bot = bot ,
@@ -1202,7 +1202,7 @@ async def test_download_artifact_with_custom_repo(
12021202 mock_download_resp .content = b"mock artifact content"
12031203
12041204 async with app .test_api () as ctx :
1205- _ , bot = get_github_bot (ctx )
1205+ _adapter , bot = get_github_bot (ctx )
12061206
12071207 github_handler = GithubHandler (
12081208 bot = bot ,
0 commit comments