Commit Graph

205 Commits

Author SHA1 Message Date
Roman Mogylatov
4a5241bb25 Migrate dependency provider tests 2021-10-16 12:28:04 -04:00
Roman Mogylatov
708092b21a Migrate provider tests 2021-10-16 12:15:22 -04:00
Roman Mogylatov
982839b31b Migrate delegate provider tests 2021-10-16 12:08:33 -04:00
Roman Mogylatov
94ae38635b Migrate self provider tests 2021-10-16 12:04:08 -04:00
Roman Mogylatov
f5b31d0ed3 Migrate object provider tests 2021-10-16 12:02:05 -04:00
Roman Mogylatov
d9ba72f950 Migrate selector provider tests 2021-10-16 11:51:43 -04:00
Roman Mogylatov
7774ed391d Migrate factory tests 2021-10-16 11:22:09 -04:00
Roman Mogylatov
42031a1b71 Refactor asserts in provider tests 2021-10-15 19:46:45 -04:00
Roman Mogylatov
33784d13a3 Rename common test module 2021-10-15 13:42:53 -04:00
Roman Mogylatov
11721b0d5a Migrate async tests 2021-10-15 13:29:54 -04:00
Roman Mogylatov
6015afa76b Migrate Factory async mode tests 2021-10-15 11:30:29 -04:00
Roman Mogylatov
38e21eb6cf Migrate provider utils tests 2021-10-15 10:26:10 -04:00
Roman Mogylatov
f8bb402312 Update ext package tests doc block 2021-10-15 10:17:23 -04:00
Roman Mogylatov
31d2c3b992 Migrate ext.flasks tests 2021-10-15 10:11:34 -04:00
Roman Mogylatov
56c39554e7 Migrate ext.aiohttp tests 2021-10-15 10:09:33 -04:00
Roman Mogylatov
602d9336e1 Migrate container class custom string cls as atrribute name tests 2021-10-14 20:10:53 -04:00
Roman Mogylatov
c437610f7f Migrate container cls tests 2021-10-14 20:06:57 -04:00
Roman Mogylatov
c3db0a43fa Fix py2 container tests 2021-10-14 19:36:48 -04:00
Roman Mogylatov
f7b3d2afe4 Migrate container async resource tests 2021-10-14 19:33:46 -04:00
Roman Mogylatov
f62015a083 Migrate container custom string attribute name tests 2021-10-14 19:26:51 -04:00
Roman Mogylatov
c48e150912 Migrate container instance tests 2021-10-14 19:20:09 -04:00
Roman Mogylatov
f7b69e4418 Migrate container self tests 2021-10-14 18:56:12 -04:00
Roman Mogylatov
2580fa888d Refactor container tests 2021-10-14 18:42:59 -04:00
Roman Mogylatov
fc61b93603 Migrate container tests 2021-10-14 16:27:15 -04:00
Roman Mogylatov
e3a6ee973c Update sample imports 2021-10-14 16:19:13 -04:00
Roman Mogylatov
eb3a0c9839 Rename schema samples 2021-10-14 15:56:37 -04:00
Roman Mogylatov
4d9ba7b5ca Migrate container.from_schema() integration tests 2021-10-14 15:54:16 -04:00
Roman Mogylatov
5c611ca011 Refactor container.from_schema() API tests 2021-10-13 22:04:16 -04:00
Roman Mogylatov
7c8cbdcfd9 Migrate misc wiring tests 2021-10-13 19:25:59 -04:00
Roman Mogylatov
a7450605b5 Update tests structure 2021-10-13 19:05:15 -04:00
Roman Mogylatov
835406da65 Migrate misc wiring tests 2021-10-13 19:04:05 -04:00
Roman Mogylatov
14449c4538 Migrate wiring config tests 2021-10-13 18:55:04 -04:00
Roman Mogylatov
150432032a Migrate wiring string module and package names tests 2021-10-13 18:33:19 -04:00
Roman Mogylatov
3f682a9ede Migrate main wiring tests 2021-10-13 16:43:02 -04:00
Roman Mogylatov
5e59e8d729 Migrate wiring async injection tests 2021-10-13 13:17:54 -04:00
Roman Mogylatov
926680d0f9 Move wiring autoloader tests 2021-10-13 12:42:00 -04:00
Roman Mogylatov
c525dda91a Rename flask and fastapi wiring test files 2021-10-13 12:29:15 -04:00
Roman Mogylatov
ea37ad9dca Migrate FastAPI and Flask wiring tests 2021-10-12 22:04:38 -04:00
Roman Mogylatov
af286548b3 Migrate common tests to pytest 2021-10-12 21:55:05 -04:00
Roman Mogylatov
94359ea43d Update aiohttp ext test 2021-10-12 12:17:23 -04:00
Roman Mogylatov
4cc4ca9188
Drop Python 3.4 support (#518)
* Update gitignore

* Drop Python 3.4 support

* Update change log

* Fix typo in changelog
2021-10-12 12:16:49 -04:00
Roman Mogylatov
284dee6e58
Add with support for container.override_providers() (#517)
* Add implementation, tests, and typing stub

* Update documentation

* Update changelog
2021-10-06 21:36:41 -04:00
Roman Mogylatov
73a43e6191
Wiring config (#516)
* Implement POC

* Implement concept with WiringConfiguration object

* Update changelog

* Add docs

* Update changelog
2021-10-03 20:35:48 -04:00
Roman Mogylatov
8ade2b7839 Update quotes in tests 2021-09-30 20:09:42 -04:00
Roman Mogylatov
0b1e214135 Fix flast wiring test 2021-09-30 19:32:18 -04:00
Roman Mogylatov
7d160cb4a5
Wiring with string module names (#515)
* Update main example

* Updating wiring module

* Update wiring test case name

* Implement string imports for wiring

* Update example

* Refactor implementation

* Update front example

* Fix a typo in README

* Update wiring docs

* Update single container example

* Update multiple containers example

* Update quotes in multiple containers example

* Update quotes in single container example

* Update decoupled-packages example

* Update single and multiple containers example

* Update quotes

* Update fastapi+redis example

* Update resource docs

* Update quotes in CLI tutorial

* Update CLI application (movie lister) tutorial

* Update monitoring daemon example

* Update python version in asyncio daemon example

* Update asyncio daemon tutorial

* Update quotes in wiring docs

* Update wiring docs
2021-09-30 15:03:19 -04:00
Roman Mogylatov
4733aad44e
Fix provide issue (#514) 2021-09-25 15:36:48 -04:00
Roman Mogylatov
14d8ed909b
FactoryAggregate - non string keys (#496)
* Improve FactoryAggregate typing stub

* Add implementation, typing stubs, and tests

* Update changelog

* Fix deepcopying

* Add example

* Update docs

* Fix errors formatting for pypy3
2021-08-25 10:20:45 -04:00
Roman Mogylatov
36bfd2ed58
Improve resource subclasses typing and make shutdown definition optional (#492)
* Improve resource subclasses typing and make shutdown definition optional

* Update mypy tests
2021-08-23 20:54:17 -04:00
Roman Mogylatov
83c2af0e7e Fix resource subclass abc tests on Python 3.7 2021-08-16 18:27:42 -04:00