Fix syntax error
This commit is contained in:
parent
eafa4a4069
commit
599f654de8
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue