Skip to content

Commit c35f6c4

Browse files
committed
Add some common tests
1 parent a4445fc commit c35f6c4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/test_common.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"""Common unittests."""
2+
3+
import unittest2 as unittest
4+
5+
from domain_models import VERSION
6+
7+
8+
class VersionTest(unittest.TestCase):
9+
"""Version constant tests."""
10+
11+
def test_version_follows_semantic_versioning(self):
12+
"""Test that version follows semantic versioning."""
13+
self.assertEquals(len(VERSION.split('.')), 3)

0 commit comments

Comments
 (0)