def METHOD_NAME():
    """Test that register_admin_plugin_script adds script paths to the admin theme when used from a plugin"""
    app = create_ctfd()
    with app.app_context():
        register_admin_plugin_script("/fake/script/path.js")
        register_admin_plugin_script("http://examplectf.com/fake/script/path.js")
        with login_as_user(app, name="admin") as client:
            r = client.get("/admin/statistics")
            output = r.get_data(as_text=True)
            assert "/fake/script/path.js" in output
            assert "http://examplectf.com/fake/script/path.js" in output
    destroy_ctfd(app)