@ -35,7 +35,8 @@ class MockRelease():
def validate(self, main_branch):
self.validate_count += 1
return self.is_valid
return []
def is_valid(self, main_branch):
return True
return len(self.validate(main_branch)) < 1
@ -32,6 +32,10 @@ class MockGitApi():
def tag_annotated(self, annotation: str, message: str, count: int):
self.tag_annotated_count += 1
return " "
def tag_annotated_second_last(self, annotation: str, message: str):
self.tag_annotated(annotation, message, 1)
def get_latest_tag(self):