mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 22:50:52 +03:00
* Add coroutine provider examples * Add coroutine provier * Update changelog * Update static analysis travis jobs to python 3.7 * Update coroutine provider implementation for python 3.4 * Update static analysis travis jobs to python 3.6 * Make pycode style happy * Add tests for coroutine providers * Make coroutine tests python 2 syntax friendly * Split tests to python2 and python3 * Refactor coroutine provider tests * Modify pypy tests running command * Update coroutine provider docs
12 lines
275 B
Python
12 lines
275 B
Python
"""Dependency injector common unit tests."""
|
|
|
|
import unittest2 as unittest
|
|
|
|
from dependency_injector import __version__
|
|
|
|
|
|
class VersionTest(unittest.TestCase):
|
|
|
|
def test_version_follows_semantic_versioning(self):
|
|
self.assertEquals(len(__version__.split('.')), 3)
|