python-dependency-injector/tests/unit/test_common_py2_py3.py

12 lines
261 B
Python
Raw Normal View History

2016-11-04 17:13:21 +03:00
"""Dependency injector common unit tests."""
2015-11-23 22:45:58 +03:00
import unittest
2015-11-23 22:45:58 +03:00
from dependency_injector import __version__
2015-11-23 22:45:58 +03:00
class VersionTest(unittest.TestCase):
def test_version_follows_semantic_versioning(self):
2021-10-01 03:09:42 +03:00
self.assertEqual(len(__version__.split(".")), 3)