python-dependency-injector/tests/unit/containers
Roman Mogylatov 3ca6dd9af1
Providers traversal (#385)
* Implement providers traversal in first precision

* Implement traversal for all providers

* Update traverse interface + add some tests

* Refactor tests

* Add tests for callable provider

* Add configuration tests

* Add Factory tests

* Add FactoryAggrefate tests

* Add .provides attribute to singleton providers

* Add singleton provider tests

* Add list and dict provider tests

* Add resource tests

* Add Container provider tests

* Add Selector provider tests

* Add ProvidedInstance provider tests

* Add AttributeGetter provider tests

* Add ItemGetter provider tests

* Add MethodCaller provider tests

* Refactor container interface

* Update resource provider string representation

* Add .initializer attribute to Resource provider

* Add docs and examples

* Remove not needed EOL in the tests

* Make cosmetic refactoring

* Ignore flake8 line width error in traverse example
2021-02-01 09:42:21 -05:00
..
__init__.py Update project structure 2016-11-04 13:06:47 +02:00
test_declarative_py2_py3.py 367 Fix declarative container metaclass bug with child providers 2021-01-29 16:37:50 -05:00
test_dynamic_async_resources_py36.py Async resources and injections (#352) 2021-01-10 19:26:15 -05:00
test_dynamic_py2_py3.py Add dependencies attribute to declarative and dynamic containers (#359) 2021-01-15 07:20:37 -05:00
test_traversal_py3.py Providers traversal (#385) 2021-02-01 09:42:21 -05:00