8000 test: split sync and async functional tests · python-gitlab/python-gitlab@52625a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 52625a5

Browse files
committed
test: split sync and async functional tests
1 parent 06e1c53 commit 52625a5

File tree

3 files changed

+1907
-940
lines changed

3 files changed

+1907
-940
lines changed

gitlab/v4/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4539,7 +4539,7 @@ def trigger_pipeline(self, ref, token, variables=None, **kwargs):
45394539
path = "/projects/%s/trigger/pipeline" % self.get_id()
45404540
post_data = {"ref": ref, "token": token, "variables": variables}
45414541
attrs = self.manager.gitlab.http_post(path, post_data=post_data, **kwargs)
4542-
return ProjectPipeline(self.pipelines, attrs) # TODO: ???
4542+
return ProjectPipeline.create(self.pipelines, attrs)
45434543

45444544
@cli.register_custom_action("Project")
45454545
@exc.on_http_error(exc.GitlabHousekeepingError)

0 commit comments

Comments
 (0)
0