python-dependency-injector/tests/unit/test_common_py2_py3.py
Roman Mogylatov 9a785de4b5
Coroutine provider (#206)
* 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
2018-10-18 19:39:19 +03:00

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)