python-dependency-injector/tests/unit/samples/wiringstringids/package/__init__.py

12 lines
270 B
Python
Raw Permalink Normal View History

import sys
if sys.version_info >= (3, 6):
from dependency_injector.wiring import Provide
from ..container import Container
from ..service import Service
def test_package_function(service: Service = Provide[Container.service]):
return service