python-dependency-injector/tests/unit/providers
Roman Mogylatov 839a319831
Better error message for dependency provider (#395)
* Add prototype for flat resolving

* Add working prototype for sample 1 and 3

* Add working prototype, requires deep refactoring

* Update DependenciesContainer to handle Contrainer provider

* Fix Dependency provider copying issue

* Add hardening fix for Self provider to avoid copying bugs

* Fix flaky container copy issue

* Rename set_parent() to assign_parent()

* Refactor Dependency provider and its typing stub

* Add tests for Dependency provider

* Update makefile to run coverage when tests fail

* Clean up DependenciesContainer provider and add tests

* Clean up Container provider and add tests

* Clean up container instance and add tests

* Refactor isinstance() checks

* Clean up DeclarativeContainer and add tests

* Update docs and examples

* Update changelog

* Revoke makefile change
2021-02-13 09:16:38 -05:00
..
__init__.py Make some style fixes in tests 2016-11-04 16:13:21 +02:00
test_async_py36.py Add extra tests for asynchronous injections 2021-01-21 11:42:22 -05:00
test_base_py2_py3.py Better error message for dependency provider (#395) 2021-02-13 09:16:38 -05:00
test_callables_py2_py3.py Provided attributes (#282) 2020-08-20 21:52:12 -04:00
test_configuration_py2_py3.py Pydantic settings support (#388) 2021-02-03 09:21:32 -05:00
test_container_py2_py3.py Better error message for dependency provider (#395) 2021-02-13 09:16:38 -05:00
test_coroutines_py35.py Async resources and injections (#352) 2021-01-10 19:26:15 -05:00
test_dict_py2_py3.py Add support of non-string keys for Dict provider 2020-11-20 17:30:42 -05:00
test_factories_py2_py3.py Async resources and injections (#352) 2021-01-10 19:26:15 -05:00
test_injections_py2_py3.py Remove assertEquals from tests 2018-11-08 22:55:01 +02:00
test_list_py2_py3.py Provided attributes (#282) 2020-08-20 21:52:12 -04:00
test_provided_instance_py2_py3.py Add tests for .provided & .call() 2021-02-05 08:48:25 -05:00
test_resource_py35.py Providers traversal (#385) 2021-02-01 09:42:21 -05:00
test_selector_py2_py3.py Add tests for selector provider 2021-02-05 08:34:20 -05:00
test_singletons_py2_py3.py Singleton.full_reset() (#391) 2021-02-05 18:17:44 -05:00
test_traversal_py3.py Providers traversal (#385) 2021-02-01 09:42:21 -05:00
test_types_py36.py Move generic types test to separate module 2020-09-13 20:38:23 -04:00
test_utils_py2_py3.py Coroutine provider (#206) 2018-10-18 19:39:19 +03:00