예제 #1
0
def makeTestChallenges():
    tags = data.make_tags()
    challs = data.make_challenges(tags)
    models.db.session.commit()
    return challs
예제 #2
0
def makeTestChallenges():
    cats = data.make_categories()
    tags = data.make_tags()
    challs = data.make_challenges(cats, tags)
    models.db.session.commit()
    return challs, cats
예제 #3
0
def makeTestChallenges():
    cats = data.make_categories()
    tags = data.make_tags()
    challs = data.make_challenges(cats, tags)
    models.db.session.commit()
    return challs, cats
예제 #4
0
def makeTestChallenges():
    tags = data.make_tags()
    challs = data.make_challenges(tags)
    models.db.session.commit()
    return challs