more strictly test commit messages

This commit is contained in:
figsoda 2023-08-02 10:00:31 -04:00
parent 39cd42e0a0
commit cc8d7d28e7
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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