refactor: rename _ci to _create_ci

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2024-01-10 17:38:05 +02:00
parent eecbd7084a
commit b252e87e0a
+3 -3
View File
@@ -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