Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Feb 20, 2023
1 parent 61a0aaf commit 7b5bf15
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/test_tag_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit 7b5bf15

Please sign in to comment.