https://github.com/CTFd/CTFd/milestone/6
This commit is contained in:
Kevin Chung
2019-04-17 01:36:30 -04:00
committed by GitHub
parent 33367422a5
commit b6d54b9ee9
278 changed files with 3659 additions and 13735 deletions

View File

@@ -1,12 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from tests.helpers import *
from tests.helpers import (
create_ctfd,
setup_ctfd,
destroy_ctfd,
login_as_user
)
from CTFd.plugins import (
register_plugin_assets_directory,
register_plugin_asset,
register_plugin_script,
register_plugin_stylesheet,
register_admin_plugin_script,
register_admin_plugin_stylesheet,
override_template,
@@ -16,10 +20,6 @@ from CTFd.plugins import (
get_user_page_menu_bar,
bypass_csrf_protection
)
from freezegun import freeze_time
from mock import patch
import json
import six
def test_register_plugin_asset():