-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -189,8 189,16 @@ def test_tag_requirements_file_basic( | |
assert cache.get_commit_tags("gitlab.acme.com", "acme", "private-repo", SHA3) == [ | ||
f"ppr-{SHA3}" | ||
] | ||
assert ( | ||
capsys.readouterr().err == "Can't preserve unsupported requirement URL: " | ||
assert capsys.readouterr().err == ( | ||
"Pushing https://github.com/OCA/mis-builder to " | ||
"ssh://[email protected]/acme/mis-builder and " | ||
"tagging as ppr-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n" | ||
"Creating tag ppr-bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb on " | ||
"https://gitlab.acme.com/acme/my-repo\n" | ||
"Pushing ssh://[email protected]/upstream/private-repo to " | ||
"ssh://[email protected]/acme/private-repo and " | ||
"tagging as ppr-cccccccccccccccccccccccccccccccccccccccc\n" | ||
"Can't preserve unsupported requirement URL: " | ||
"https://example.com/pkgb-1.0.tar.gz\n" | ||
) | ||
|
||
|