Fix XBPS repository setup instructions
This commit is contained in:
@@ -79,6 +79,20 @@ def test_release_footer_verifies_the_clearsigned_checksum_asset():
|
||||
assert "sha256sum -c SHA256SUMS" in footer
|
||||
|
||||
|
||||
def test_release_footer_configures_the_xbps_url_as_a_repository():
|
||||
footer = (REPO_ROOT / "packaging" / "release-footer.md").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
|
||||
repository = (
|
||||
"repository=https://git.bongbetic.com/xavierk/Fenris-xbps/"
|
||||
"raw/branch/stable/x86_64"
|
||||
)
|
||||
assert repository in footer
|
||||
assert "sudo xbps-install -M -S fenris" in footer
|
||||
assert "sudo xbps-install -S https://git.bongbetic.com" not in footer
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
("changelog", "expected_error"),
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user