def createdb(): """ Create Database (with initial user) """ import models db.create_all() add_user(u'admin', email=get_emailaddress())
def test_get_emailaddress(self): from utils import get_emailaddress em = get_emailaddress() if em: assert u'@' in em