test(unit): add roles, web deps, use cases, VO boundary tests — reach 70% coverage
Some checks failed
ci/woodpecker/pr/pipeline Pipeline was canceled
Some checks failed
ci/woodpecker/pr/pipeline Pipeline was canceled
This commit is contained in:
14
tests/unit/infrastructure/test_di_container.py
Normal file
14
tests/unit/infrastructure/test_di_container.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""Tests for DI container."""
|
||||
|
||||
from app.infrastructure.di.container import create_container
|
||||
|
||||
|
||||
class TestContainer:
|
||||
"""Test DI container creation."""
|
||||
|
||||
def test_create_container(self) -> None:
|
||||
"""Test container factory returns AsyncContainer."""
|
||||
from dishka import AsyncContainer
|
||||
|
||||
container = create_container()
|
||||
assert isinstance(container, AsyncContainer)
|
||||
Reference in New Issue
Block a user