Some checks failed
Test before pr merge / test-lint (pull_request) Failing after 6s
Build on push / prepare (push) Successful in 9s
Build on push / core (push) Successful in 19s
Build on push / query (push) Successful in 27s
Build on push / dependency (push) Successful in 18s
Build on push / application (push) Successful in 15s
Build on push / database (push) Successful in 20s
Build on push / translation (push) Successful in 19s
Build on push / mail (push) Successful in 20s
Build on push / auth (push) Successful in 14s
Build on push / api (push) Successful in 14s
11 lines
263 B
Python
11 lines
263 B
Python
from cpl.dependency import ServiceProvider, ServiceProvider
|
|
from cpl.dependency.inject import inject
|
|
from test_service import TestService
|
|
|
|
|
|
class StaticTest:
|
|
@staticmethod
|
|
@inject
|
|
def test(services: ServiceProvider, t1: TestService):
|
|
t1.run()
|