2020 TEST_LANG_CODE ,
2121 TEST_VERSION ,
2222)
23- from tests .integration .lib .gh_repo import TestRepoManager
23+ from tests .integration .lib .gh_repo import EphemeralGitHubRepo
2424from tests .integration .lib .http import http_json
2525from tests .integration .lib .weblate_api import WeblateAPI
2626
@@ -115,7 +115,7 @@ class TestBoostComponentServiceE2E:
115115
116116 @staticmethod
117117 def _service_snippet (
118- test_repo : TestRepoManager ,
118+ test_repo : EphemeralGitHubRepo ,
119119 * ,
120120 run_process_all : bool = False ,
121121 run_twice : bool = False ,
@@ -185,7 +185,7 @@ def _service_snippet(
185185print(json.dumps(out))
186186"""
187187
188- def test_clone_and_scan (self , exec_python , test_repo : TestRepoManager ) -> None :
188+ def test_clone_and_scan (self , exec_python , test_repo : EphemeralGitHubRepo ) -> None :
189189 out = json .loads (
190190 exec_python (self ._service_snippet (test_repo , run_process_all = False ))
191191 )
@@ -195,7 +195,7 @@ def test_clone_and_scan(self, exec_python, test_repo: TestRepoManager) -> None:
195195 assert any (c ["format" ] == "asciidoc" for c in out ["configs" ])
196196
197197 def test_project_component_creation (
198- self , exec_python , test_repo : TestRepoManager
198+ self , exec_python , test_repo : EphemeralGitHubRepo
199199 ) -> None :
200200 """Direct process_all on a DB with no prior components for this repo."""
201201 out = json .loads (
@@ -220,7 +220,7 @@ def test_project_component_creation(
220220 )
221221 assert check == "ok"
222222
223- def test_idempotency (self , exec_python , test_repo : TestRepoManager ) -> None :
223+ def test_idempotency (self , exec_python , test_repo : EphemeralGitHubRepo ) -> None :
224224 out = json .loads (
225225 exec_python (
226226 self ._service_snippet (test_repo , run_process_all = True , run_twice = True )
@@ -239,7 +239,7 @@ class TestAddOrUpdateCeleryFlow:
239239 """POST /boost-endpoint/add-or-update/ and poll Celery completion."""
240240
241241 def test_add_or_update_returns_202 (
242- self , api_token : str , test_repo : TestRepoManager
242+ self , api_token : str , test_repo : EphemeralGitHubRepo
243243 ) -> None :
244244 owner = test_repo .resolve_owner ()
245245 body = {
@@ -260,7 +260,7 @@ def test_add_or_update_returns_202(
260260 type(self ).task_id = str (data ["task_id" ])
261261
262262 def test_add_or_update_task_completes (
263- self , weblate_api : WeblateAPI , test_repo : TestRepoManager
263+ self , weblate_api : WeblateAPI , test_repo : EphemeralGitHubRepo
264264 ) -> None :
265265 task_id = getattr (self , "task_id" , None )
266266 if not task_id :
0 commit comments