* Switching to Flask-Migrate to create tables/database. Adding Hints & Unlocks.
* Adding db.create_all call for sqlite db's (sqlite is not properly handled with alembic yet)
* Python 3 testing works properly with 3.5
* Adding admin side of hints
* Hints are viewable for users
This commit is contained in:
Kevin Chung
2017-03-28 21:17:56 -04:00
committed by GitHub
parent 9a9b775e57
commit f48a0cdacd
20 changed files with 644 additions and 177 deletions

View File

@@ -203,5 +203,5 @@ def test_viewing_challenges():
client = login_as_user(app)
gen_challenge(app.db)
r = client.get('/chals')
chals = json.loads(r.data)
assert len(chals['game']) == 1
chals = json.loads(r.get_data(as_text=True))
assert len(chals['game']) == 1