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