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

14 lines
341 B
Python
Raw Normal View History

2015-11-23 22:45:58 +03:00
"""Common unittests."""
import unittest2 as unittest
from dependency_injector import VERSION
class VersionTest(unittest.TestCase):
"""Version constant tests."""
def test_version_follows_semantic_versioning(self):
"""Test that version follows semantic versioning."""
self.assertEquals(len(VERSION.split('.')), 3)