python-dependency-injector/tests/unit/__init__.py
2016-11-02 22:58:30 +02:00

14 lines
351 B
Python

"""Dependency injector 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('.')))