fix: fix woodpecker pipelines
This commit is contained in:
@@ -7,12 +7,12 @@ import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_service():
|
||||
def mock_service() -> Mock:
|
||||
"""Create a mock service for unit testing."""
|
||||
return Mock()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_async_service():
|
||||
def mock_async_service() -> AsyncMock:
|
||||
"""Create an async mock service for unit testing."""
|
||||
return AsyncMock()
|
||||
|
||||
Reference in New Issue
Block a user