2015-08-31 13:31:38 +00:00
|
|
|
"""Dependency injector unittests."""
|
2015-11-23 18:56:34 +00:00
|
|
|
|
|
|
|
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('.')))
|