示例#1
0
def makeTestChallenges():
    tags = data.make_tags()
    challs = data.make_challenges(tags)
    models.db.session.commit()
    return challs
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