Add assertion for release count
This commit is contained in:
parent
8c0ae19fdc
commit
bdc1b5c942
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ def test_prepare_release_service(): # todo: maybe use mocks for service api test
|
||||||
prepare_release_service.write_and_commit_bump()
|
prepare_release_service.write_and_commit_bump()
|
||||||
|
|
||||||
# test
|
# test
|
||||||
|
assert prepare_release_service.release_repo.get_release_count == 1
|
||||||
assert prepare_release_service.release.validate_count == 2
|
assert prepare_release_service.release.validate_count == 2
|
||||||
assert prepare_release_service.release_repo.version_repository.write_file_count == 2
|
assert prepare_release_service.release_repo.version_repository.write_file_count == 2
|
||||||
assert prepare_release_service.git_api.add_file_count == 2
|
assert prepare_release_service.git_api.add_file_count == 2
|
||||||
|
|
Loading…
Reference in a new issue