mirror of
https://github.com/Mic92/nix-update.git
synced 2024-09-11 02:25:32 +03:00
more strictly test commit messages
This commit is contained in:
parent
39cd42e0a0
commit
cc8d7d28e7
@ -29,6 +29,5 @@ def test_main(helpers: conftest.Helpers) -> None:
|
||||
check=True,
|
||||
).stdout.strip()
|
||||
print(commit)
|
||||
assert version in commit
|
||||
assert "crate" in commit
|
||||
assert f"crate: 8.0.0 -> {version}" in commit
|
||||
assert "https://diff.rs/fd-find/8.0.0/" in commit
|
||||
|
@ -31,8 +31,7 @@ def test_main(helpers: conftest.Helpers) -> None:
|
||||
check=True,
|
||||
).stdout.strip()
|
||||
print(commit)
|
||||
assert version in commit
|
||||
assert "pypi" in commit
|
||||
assert f"pypi: 2.0.0 -> {version}" in commit
|
||||
assert (
|
||||
f"https://github.com/Mic92/python-mpd2/blob/{version}/doc/changes.rst"
|
||||
in commit
|
||||
|
Loading…
Reference in New Issue
Block a user