Commit Graph

8 Commits

Author SHA1 Message Date
Roman Mogylatov
dcea50b3a3 Fix Singleton and ThreadLocalSingleton to handle initialization errors 2021-01-03 18:07:37 -05:00
Roman Mogylatov
ea5af60669 Add test to cover resource initialization with an error 2021-01-03 17:51:59 -05:00
Roman Mogylatov
0aaae89328 Cover shutdown of not initialized resource 2021-01-03 17:38:20 -05:00
Roman Mogylatov
fe583ac9cf Fix typo in resource provider tests 2021-01-03 17:33:28 -05:00
Roman Mogylatov
0c42ff9242 Update .provided + fix resource concurent initialization issue 2020-12-30 13:30:51 -05:00
Roman Mogylatov
d23d506e1a Add awaits into async resource class test 2020-12-30 13:30:44 -05:00
Roman Mogylatov
31b03243a4 Add tests for async resources 2020-12-30 13:30:42 -05:00
Roman Mogylatov
47c79b2772
Resources (#312)
* Add prototype

* Add example

* Remove typing erros in Python 2.7 and 3.4

* Move resources example

* Draft resources docs

* Update resources docs

* Fix repr

* Rename dict provider test

* Add more tests

* Add tests + refactoring

* Add more tests

* Update tests to run only on 3.5+

* Update setup.py

* Add typing tests

* Update changelog

* Fix generator iteration

* Remove contextlib

* Hotfix aiohttp issue

* Move aiohttp fix to tox.ini

* Move aiohttp fix to a different place in tox
2020-10-24 20:56:32 -04:00