Migrate common tests to pytest

This commit is contained in:
Roman Mogylatov 2021-10-12 21:55:05 -04:00
parent 679e48fd38
commit af286548b3

View File

@ -1,11 +1,7 @@
"""Dependency injector common unit tests."""
import unittest
from dependency_injector import __version__
class VersionTest(unittest.TestCase):
def test_version_follows_semantic_versioning(self):
self.assertEqual(len(__version__.split(".")), 3)
def test_version_follows_semantic_versioning():
assert len(__version__.split(".")) == 3