Add assertion for release count

This commit is contained in:
erik 2023-03-03 15:54:11 +01:00
parent 8c0ae19fdc
commit bdc1b5c942

View file

@ -40,6 +40,7 @@ def test_prepare_release_service(): # todo: maybe use mocks for service api test
prepare_release_service.write_and_commit_bump()
# test
assert prepare_release_service.release_repo.get_release_count == 1
assert prepare_release_service.release.validate_count == 2
assert prepare_release_service.release_repo.version_repository.write_file_count == 2
assert prepare_release_service.git_api.add_file_count == 2