Commit afcac80c authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files


This will be useful each time a direct assertion on
GitLab branches has to be made asynchronous, and it
looks like we'll have a lot.
parent ece4219ff871
......@@ -387,6 +387,13 @@ class Project(object):
return wait_assert(lambda: self.api_branches(), condition,
msg=msg, timeout=timeout, **kw)
def wait_assert_api_branch_titles(self, expected, timeout=10):
lambda branches: (extract_gitlab_branch_titles(branches)
== expected),
def api_tags(self):
"""Retrieve and pre-sort tags info through the REST API."""
resp = self.owner_api_get(subpath='repository/tags')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment