mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 05:54:19 +01:00
Bump Dependencies (#2332)
* Bump dependencies * Closes #2300 * Closes #2331
This commit is contained in:
@@ -21,7 +21,7 @@ def test_ctftime_prevents_accessing_challenges_before_ctf():
|
||||
register_user(app)
|
||||
chal = gen_challenge(app.db)
|
||||
chal_id = chal.id
|
||||
gen_flag(app.db, challenge_id=chal.id, content=u"flag")
|
||||
gen_flag(app.db, challenge_id=chal.id, content="flag")
|
||||
|
||||
with ctftime.not_started():
|
||||
client = login_as_user(app)
|
||||
@@ -48,7 +48,7 @@ def test_ctftime_redirects_to_teams_page_in_teams_mode_before_ctf():
|
||||
with ctftime.init():
|
||||
register_user(app)
|
||||
chal = gen_challenge(app.db)
|
||||
gen_flag(app.db, challenge_id=chal.id, content=u"flag")
|
||||
gen_flag(app.db, challenge_id=chal.id, content="flag")
|
||||
|
||||
with ctftime.not_started():
|
||||
client = login_as_user(app)
|
||||
@@ -83,7 +83,7 @@ def test_ctftime_allows_accessing_challenges_during_ctf():
|
||||
register_user(app)
|
||||
chal = gen_challenge(app.db)
|
||||
chal_id = chal.id
|
||||
gen_flag(app.db, challenge_id=chal.id, content=u"flag")
|
||||
gen_flag(app.db, challenge_id=chal.id, content="flag")
|
||||
|
||||
with ctftime.started():
|
||||
client = login_as_user(app)
|
||||
@@ -112,7 +112,7 @@ def test_ctftime_prevents_accessing_challenges_after_ctf():
|
||||
register_user(app)
|
||||
chal = gen_challenge(app.db)
|
||||
chal_id = chal.id
|
||||
gen_flag(app.db, challenge_id=chal.id, content=u"flag")
|
||||
gen_flag(app.db, challenge_id=chal.id, content="flag")
|
||||
|
||||
with ctftime.ended():
|
||||
client = login_as_user(app)
|
||||
|
||||
Reference in New Issue
Block a user