python-dependency-injector/tests/unit
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
..
containers Providers traversal (#385) 2021-02-01 09:42:21 -05:00
ext Aiohttp integration (#270) 2020-07-28 19:19:05 -04:00
providers Providers traversal (#385) 2021-02-01 09:42:21 -05:00
samples Fix a Python 3.9 GenericAlias introspection bug, issue #362 2021-01-18 20:49:56 -05:00
wiring Implement wiring autoloader (#381) 2021-01-28 19:49:24 -05:00
__init__.py Make some style fixes in tests 2016-11-04 16:13:21 +02:00
.pydocstylerc Update pydocstyle config for unit tests 2017-10-12 19:54:05 -07:00
asyncutils.py Async resources and injections (#352) 2021-01-10 19:26:15 -05:00
test_common_py2_py3.py Remove assertEquals from tests 2018-11-08 22:55:01 +02:00