def METHOD_NAME(self):
    user = model.User()
    name = u"xyz"
    user.name = name
    model.Session.add(user)
    model.repo.commit_and_remove()
    out = model.User.by_name(name)
    assert len(str(out.created)) > 5, out.created