예제 #1
0
def setup():
    """Function called by nose on module load"""
    setup_db()
    DBSession.add(User(id=4771, user_name='dummy', email_address='*****@*****.**'))
    DBSession.flush()
예제 #2
0
def setup():
    """Function called by nose on module load"""
    setup_db()
예제 #3
0
def setup():
    """Function called by nose on module load"""
    setup_db()
예제 #4
0
def setup():
    """Function called by nose on module load"""
    setup_db()
    DBSession.add(
        User(id=4771, user_name='dummy', email_address='*****@*****.**'))
    DBSession.flush()
예제 #5
0
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()