fmt #7
Annotations
10 errors
Run poetry run pytest:
tests/test_app.py#L21
test_app_injection
magic_di.exceptions.InjectionError: Failed to inject <class 'tests.conftest.Service'>.
/home/runner/work/magic-di/magic-di/tests/conftest.py:40
Missing arguments:
repo: 'Repository'
workers: 'AsyncWorkers | None'
Hint: Did you forget to make these dependencies connectable? (Inherit from Connectable or implement __connect__ and __disconnect__ methods)
|
Run poetry run pytest:
tests/test_app.py#L42
test_app_injection_with_depends
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
|
Run poetry run pytest:
tests/test_app.py#L103
test_app_injection_clients_connect[False]
magic_di.exceptions.InjectionError: Failed to inject <class 'tests.conftest.Service'>.
/home/runner/work/magic-di/magic-di/tests/conftest.py:40
Missing arguments:
repo: 'Repository'
workers: 'AsyncWorkers | None'
Hint: Did you forget to make these dependencies connectable? (Inherit from Connectable or implement __connect__ and __disconnect__ methods)
|
Run poetry run pytest:
tests/test_app.py#L103
test_app_injection_clients_connect[True]
magic_di.exceptions.InjectionError: Failed to inject <class 'tests.conftest.Service'>.
/home/runner/work/magic-di/magic-di/tests/conftest.py:40
Missing arguments:
repo: 'Repository'
workers: 'AsyncWorkers | None'
Hint: Did you forget to make these dependencies connectable? (Inherit from Connectable or implement __connect__ and __disconnect__ methods)
|
Run poetry run pytest:
tests/test_celery.py#L220
test_retries_func_based_task
magic_di.exceptions.InspectionError: Failed to inspect <bound method InjectableCeleryTask.run_wrapper.<locals>.runner of <@task: tests.test_celery.ping_task of __main__ at 0x7f04c887a070>>.
See the exception above
|
Run poetry run pytest:
tests/test_celery.py#L239
test_retries_class_based_task
magic_di.exceptions.InspectionError: Failed to inspect <bound method InjectableCeleryTask.run_wrapper.<locals>.runner of <@task: tests.test_celery.service_ping of __main__ at 0x7f04c8d52880>>.
See the exception above
|
Run poetry run pytest:
tests/test_celery.py#L288
test_async_function_based_tasks_inside_event_loop[False-True-expected_mock_calls0]
magic_di.exceptions.InspectionError: Failed to inspect <bound method InjectableCeleryTask.run_wrapper.<locals>.runner of <@task: tests.test_celery.ping_task of __main__ at 0x7f04c8c5c220>>.
See the exception above
|
Run poetry run pytest:
tests/test_celery.py#L288
test_async_function_based_tasks_inside_event_loop[True-False-expected_mock_calls1]
magic_di.exceptions.InspectionError: Failed to inspect <bound method InjectableCeleryTask.run_wrapper.<locals>.runner of <@task: tests.test_celery.ping_task of __main__ at 0x7f04c8123040>>.
See the exception above
|
Run poetry run pytest:
tests/test_celery.py#L288
test_async_function_based_tasks_inside_event_loop[True-True-expected_mock_calls2]
magic_di.exceptions.InspectionError: Failed to inspect <bound method InjectableCeleryTask.run_wrapper.<locals>.runner of <@task: tests.test_celery.ping_task of __main__ at 0x7f04c836eeb0>>.
See the exception above
|
Run poetry run pytest:
tests/test_injector.py#L25
test_class_injection_success
magic_di.exceptions.InjectionError: Failed to inject <class 'tests.conftest.Service'>.
/home/runner/work/magic-di/magic-di/tests/conftest.py:40
Missing arguments:
repo: 'Repository'
workers: 'AsyncWorkers | None'
Hint: Did you forget to make these dependencies connectable? (Inherit from Connectable or implement __connect__ and __disconnect__ methods)
|
Loading