Fix syntax error

This commit is contained in:
bom 2023-05-11 15:00:15 +02:00
parent eafa4a4069
commit 599f654de8

View file

@ -1,6 +1,6 @@
from pathlib import Path from pathlib import Path
from src.main.python.ddadevops.domain import ReleaseType, Version from src.main.python.ddadevops.domain import ReleaseType, Version, Release
from .mock_infrastructure_api import MockGitApi from .mock_infrastructure_api import MockGitApi
@ -38,6 +38,6 @@ class MockReleaseRepository():
self.main_branch = main_branch self.main_branch = main_branch
self.get_release_count = 0 self.get_release_count = 0
def get_release(self) -> : def get_release(self) -> Release:
self.get_release_count += 1 self.get_release_count += 1
return Release(self.release_type_repository.get_release_type(), self.version_repository.get_version(), self.main_branch) return Release(self.release_type_repository.get_release_type(), self.version_repository.get_version(), self.main_branch)