python-dependency-injector/tests/unit/test_common_py2_py3.py
Roman Mogylatov d4ebb1b786
Remove unittest2 (#419)
* Remove unittest2 framework

* Skip a couple of tests on Python 2.7

* Update changelog
2021-03-05 20:17:28 -05:00

12 lines
261 B
Python

"""Dependency injector common unit tests."""
import unittest
from dependency_injector import __version__
class VersionTest(unittest.TestCase):
def test_version_follows_semantic_versioning(self):
self.assertEqual(len(__version__.split('.')), 3)