Esempio n. 1
0
 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()
     )
Esempio n. 2
0
__all__ = ('connection', 'get_database', 'get_version', '__version__')

from shortcut import get_database, get_version, connection
__version__ = get_version()