feature(scm): added multibranch support for git and mercurial
This commit is contained in:
parent
4c45b5eb14
commit
102205ec73
51 changed files with 446 additions and 217 deletions
|
|
@ -41,8 +41,7 @@ class TestGetRepoChangeset(object):
|
|||
|
||||
if details == "full":
|
||||
assert result["refs"]["bookmarks"] == getattr(commit, "bookmarks", [])
|
||||
branches = [commit.branch] if commit.branch else []
|
||||
assert result["refs"]["branches"] == branches
|
||||
assert result["refs"]["branches"] == commit.branches
|
||||
assert result["refs"]["tags"] == commit.tags
|
||||
|
||||
@pytest.mark.parametrize("details", ["basic", "extended", "full"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue