def test_get_version(self): from shortcut import get_version version = get_version() self.assertEqual( version, open(os.path.join(os.path.dirname(__file__), 'version.txt')).read() )
__all__ = ('connection', 'get_database', 'get_version', '__version__') from shortcut import get_database, get_version, connection __version__ = get_version()