def setup(): """Function called by nose on module load""" setup_db() DBSession.add(User(id=4771, user_name='dummy', email_address='*****@*****.**')) DBSession.flush()
def setup(): """Function called by nose on module load""" setup_db()
def setup(): """Function called by nose on module load""" setup_db() DBSession.add( User(id=4771, user_name='dummy', email_address='*****@*****.**')) DBSession.flush()
def setup(): """Function called by nose on module load""" setup_db() assignment = Assignment(id=42, name='Dummy', assignment_id=42) DBSession.add(assignment) DBSession.flush()