mirror of
https://seed.radicle.dev/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE.git
synced 2026-11-21 10:30:49 +08:00
refactor: rename _ci to _create_ci
Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
+3
-3
@@ -79,7 +79,7 @@ class Suite:
|
||||
self._create_valid_native_yaml(git, shell)
|
||||
return self._get_repo_info(git)
|
||||
|
||||
def _ci(self):
|
||||
def _create_ci(self):
|
||||
return NativeCI(self.rad, self.config)
|
||||
|
||||
def _run_ci(self, ci, rid, commit):
|
||||
@@ -91,7 +91,7 @@ class Suite:
|
||||
|
||||
def _test_case(self, repo_name, shell):
|
||||
rid, commit = self._setup(repo_name, shell)
|
||||
ci = self._ci()
|
||||
ci = self._create_ci()
|
||||
return self._run_ci(ci, rid, commit)
|
||||
|
||||
def test_happy_path(self):
|
||||
@@ -154,7 +154,7 @@ class Suite:
|
||||
rid = "rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE"
|
||||
commit = "8d947e182b096ec009e1c9eda9e6a67f5eef83d9"
|
||||
|
||||
ci = self._ci()
|
||||
ci = self._create_ci()
|
||||
exit, resps, stderr = self._run_ci(ci, rid, commit)
|
||||
|
||||
assert exit != 0
|
||||
|
||||
Reference in New Issue
Block a user