mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-01-06 07:34:21 +01:00
Refactor Containers into a plugin (#348)
* Removing Containers code * Closes #301
This commit is contained in:
@@ -44,16 +44,6 @@ def test_admin_scoreboard():
|
||||
destroy_ctfd(app)
|
||||
|
||||
|
||||
def test_admin_containers():
|
||||
"""Does admin containers return a 200 by default"""
|
||||
app = create_ctfd()
|
||||
with app.app_context():
|
||||
client = login_as_user(app, name="admin", password="password")
|
||||
r = client.get('/admin/containers')
|
||||
assert r.status_code == 200
|
||||
destroy_ctfd(app)
|
||||
|
||||
|
||||
def test_admin_chals():
|
||||
"""Does admin chals return a 200 by default"""
|
||||
app = create_ctfd()
|
||||
|
||||
Reference in New Issue
Block a user