
- add __version__ to migrate/__init__.py - add test in migrate/tests/__init__.py - update docs/changelog.rst
16 lines
438 B
Python
16 lines
438 B
Python
# make this package available during imports as long as we support <python2.5
|
|
import sys
|
|
import os
|
|
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
|
|
from unittest import TestCase
|
|
import migrate
|
|
|
|
|
|
class TestVersionDefined(TestCase):
|
|
def test_version(self):
|
|
"""Test for migrate.__version__"""
|
|
self.assertTrue(isinstance(migrate.__version__, basestring))
|
|
self.assertTrue(len(migrate.__version__) > 0)
|