mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 17:47:02 +03:00
14 lines
341 B
Python
14 lines
341 B
Python
|
"""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)
|