mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Auth Improvments (#746)
* Create generic get_errors, get_infos; add MLC OAuth settings in config * Use new get_errors function
This commit is contained in:
@@ -69,7 +69,7 @@ def test_user_can_unlock_hint():
|
||||
|
||||
r = client.get('/api/v1/hints/{}'.format(hint_id))
|
||||
resp = r.get_json()
|
||||
assert resp['data'].get('content')
|
||||
assert resp['data'].get('content') == "This is a hint"
|
||||
|
||||
user = Users.query.filter_by(name="user1").first()
|
||||
assert user.score == 5
|
||||
|
||||
Reference in New Issue
Block a user