¡@

Home 

OpenStack Study: horizon

OpenStack Index

Next

\OpenStack\horizon-2014.1\horizon\base.py

def _decorate_urlconf(urlpatterns, decorator, *args, **kwargs):

class NotRegistered(Exception):

class HorizonComponent(object):

    def __init__(self):

    def __unicode__(self):

    def _get_default_urlpatterns(self):

class Registry(object):

    def __init__(self):

    def _register(self, cls):

    def _unregister(self, cls):

    def _registered(self, cls):

class Panel(HorizonComponent):

    def __repr__(self):

    def get_absolute_url(self):

    def _decorated_urls(self):

class PanelGroup(object):

    def __init__(self, dashboard, slug=None, name=None, panels=None):

    def __repr__(self):

    def __unicode__(self):

    def __iter__(self):

class Dashboard(Registry, HorizonComponent):

    def __repr__(self):

    def __init__(self, *args, **kwargs):

    def get_panel(self, panel):

    def get_panels(self):

    def get_panel_group(self, slug):

    def get_panel_groups(self):

    def get_absolute_url(self):

    def _decorated_urls(self):

    def _autodiscover(self):

    def register(cls, panel):

    def unregister(cls, panel):

class Workflow(object):

    def __init__(*args, **kwargs):

class LazyURLPattern(SimpleLazyObject):

    def __iter__(self):

    def __reversed__(self):

    def __len__(self):

    def __getitem__(self, idx):

class Site(Registry, HorizonComponent):

    def __repr__(self):

    def _conf(self):

    def dashboards(self):

    def default_dashboard(self):

    def register(self, dashboard):

    def unregister(self, dashboard):

    def registered(self, dashboard):

    def register_panel(self, dashboard, panel):

    def unregister_panel(self, dashboard, panel):

    def get_dashboard(self, dashboard):

    def get_dashboards(self):

    def get_default_dashboard(self):

    def get_user_home(self, user):

    def get_absolute_url(self):

    def _lazy_urls(self):

        def url_patterns():

    def _urls(self):

    def _autodiscover(self):

    def _load_panel_customization(self):

    def _process_panel_configuration(self, config):

    def _process_panel_group_configuration(self, config):

class HorizonSite(Site):

    def __new__(cls, *args, **kwargs):

\OpenStack\horizon-2014.1\horizon\base.py.htm

\OpenStack\horizon-2014.1\horizon\browsers\base.py

class ResourceBrowser(html.HTMLElement):

    def __init__(self, request, tables_dict=None, attrs=None, **kwargs):

    def check_table_class(self, cls, attr_name):

    def set_tables(self, tables):

    def prepare_breadcrumb(self, tables, navigation_item, content_path):

    def render(self):

\OpenStack\horizon-2014.1\horizon\browsers\breadcrumb.py

class Breadcrumb(html.HTMLElement):

    def __init__(self, request, template, root, subfolder_path, url, attr=None):

    def get_subfolders(self):

    def render(self):

\OpenStack\horizon-2014.1\horizon\browsers\views.py

class ResourceBrowserView(MultiTableView):

    def __init__(self, *args, **kwargs):

    def get_browser(self):

    def get_context_data(self, **kwargs):

\OpenStack\horizon-2014.1\horizon\browsers\__init__.py

\OpenStack\horizon-2014.1\horizon\conf\dash_template\dashboard.py.tmpl

class {{ dash_name|title }}(horizon.Dashboard):

\OpenStack\horizon-2014.1\horizon\conf\dash_template\models.py

\OpenStack\horizon-2014.1\horizon\conf\dash_template\__init__.py

\OpenStack\horizon-2014.1\horizon\conf\default.py

\OpenStack\horizon-2014.1\horizon\conf\panel_template\models.py

\OpenStack\horizon-2014.1\horizon\conf\panel_template\panel.py.tmpl

class {{ panel_name|title }}(horizon.Panel):

\OpenStack\horizon-2014.1\horizon\conf\panel_template\tests.py.tmpl

class {{ panel_name|title}}Tests(test.TestCase):

    def test_me(self):

\OpenStack\horizon-2014.1\horizon\conf\panel_template\urls.py

\OpenStack\horizon-2014.1\horizon\conf\panel_template\views.py

class IndexView(views.APIView):

    def get_data(self, request, context, *args, **kwargs):

\OpenStack\horizon-2014.1\horizon\conf\panel_template\__init__.py

\OpenStack\horizon-2014.1\horizon\conf\__init__.py

class LazySettings(LazyObject):

    def _setup(self, name=None):

    def __getitem__(self, name, fallback=None):

\OpenStack\horizon-2014.1\horizon\context_processors.py

def horizon(request):

\OpenStack\horizon-2014.1\horizon\decorators.py

def _current_component(view_func, dashboard=None, panel=None):

def require_auth(view_func):

def require_perms(view_func, required):

\OpenStack\horizon-2014.1\horizon\exceptions.py

class HorizonReporterFilter(SafeExceptionReporterFilter):

    def is_active(self, request):

    def get_traceback_frame_variables(self, request, tb_frame):

class HorizonException(Exception):

class Http302(HorizonException):

    def __init__(self, location, message=None):

class NotAuthorized(HorizonException):

class NotAuthenticated(HorizonException):

class NotFound(HorizonException):

class Conflict(HorizonException):

class RecoverableError(HorizonException):

class ServiceCatalogException(HorizonException):

    def __init__(self, service_name):

class AlreadyExists(HorizonException):

    def __init__(self, name, resource_type):

    def __repr__(self):

    def __str__(self):

    def __unicode__(self):

class WorkflowError(HorizonException):

class WorkflowValidationError(HorizonException):

class HandledException(HorizonException):

    def __init__(self, wrapped):

def error_color(msg):

def check_message(keywords, message):

def handle(request, message=None, redirect=None, ignore=False, escalate=False, log_level=None, force_log=None):

\OpenStack\horizon-2014.1\horizon\forms\base.py

class SelfHandlingMixin(object):

    def __init__(self, request, *args, **kwargs):

class SelfHandlingForm(SelfHandlingMixin, forms.Form):

    def api_error(self, message):

    def set_warning(self, message):

class DateForm(forms.Form):

    def __init__(self, *args, **kwargs):

\OpenStack\horizon-2014.1\horizon\forms\fields.py

class DynamicSelectWidget(widgets.Select):

    def render(self, *args, **kwargs):

    def get_add_item_url(self):

class DynamicChoiceField(fields.ChoiceField):

    def __init__(self, add_item_link=None, add_item_link_args=None, *args, **kwargs):

class DynamicTypedChoiceField(DynamicChoiceField, fields.TypedChoiceField):

\OpenStack\horizon-2014.1\horizon\forms\views.py

class ModalFormMixin(object):

    def get_template_names(self):

    def get_context_data(self, **kwargs):

class ModalFormView(ModalFormMixin, generic.FormView):

    def get_object_id(self, obj):

    def get_object_display(self, obj):

    def get_form(self, form_class):

    def form_valid(self, form):

\OpenStack\horizon-2014.1\horizon\forms\__init__.py

\OpenStack\horizon-2014.1\horizon\loaders.py

class TemplateLoader(BaseLoader):

    def get_template_sources(self, template_name):

    def load_template_source(self, template_name, template_dirs=None):

\OpenStack\horizon-2014.1\horizon\management\commands\startdash.py

class Command(TemplateCommand):

    def handle(self, dash_name=None, **options):

\OpenStack\horizon-2014.1\horizon\management\commands\startpanel.py

class Command(TemplateCommand):

    def handle(self, panel_name=None, **options):

\OpenStack\horizon-2014.1\horizon\management\commands\__init__.py

\OpenStack\horizon-2014.1\horizon\management\__init__.py

\OpenStack\horizon-2014.1\horizon\messages.py

def add_message(request, level, message, extra_tags='', fail_silently=False):

def debug(request, message, extra_tags='', fail_silently=False):

def info(request, message, extra_tags='', fail_silently=False):

def success(request, message, extra_tags='', fail_silently=False):

def warning(request, message, extra_tags='', fail_silently=False):

def error(request, message, extra_tags='', fail_silently=False):

\OpenStack\horizon-2014.1\horizon\middleware.py

class HorizonMiddleware(object):

    def process_request(self, request):

    def process_exception(self, request, exception):

    def process_response(self, request, response):

\OpenStack\horizon-2014.1\horizon\models.py

\OpenStack\horizon-2014.1\horizon\site_urls.py

\OpenStack\horizon-2014.1\horizon\tables\actions.py

class BaseActionMetaClass(type):

    def __new__(mcs, name, bases, attrs):

    def __call__(cls, *args, **kwargs):

class BaseAction(html.HTMLElement):

    def __init__(self, **kwargs):

    def data_type_matched(self, datum):

    def get_policy_target(self, request, datum):

    def allowed(self, request, datum):

    def _allowed(self, request, datum):

    def update(self, request, datum):

    def get_default_classes(self):

    def get_default_attrs(self):

    def __repr__(self):

class Action(BaseAction):

    def __init__(self, single_func=None, multiple_func=None, handle_func=None, attrs=None, **kwargs):

    def get_param_name(self):

class LinkAction(BaseAction):

    def __init__(self, attrs=None, **kwargs):

    def get_link_url(self, datum=None):

class FilterAction(BaseAction):

    def __init__(self, **kwargs):

    def get_param_name(self):

    def get_default_classes(self):

    def assign_type_string(self, table, data, type_string):

    def data_type_filter(self, table, data, filter_string):

    def filter(self, table, data, filter_string):

class FixedFilterAction(FilterAction):

    def __init__(self, **kwargs):

    def filter(self, table, images, filter_string):

    def get_fixed_buttons(self):

    def categorize(self, table, images):

class BatchAction(Action):

    def __init__(self, **kwargs):

    def _allowed(self, request, datum=None):

    def _get_action_name(self, items=None, past=False):

    def action(self, request, datum_id):

    def update(self, request, datum):

    def get_success_url(self, request=None):

    def handle(self, table, request, obj_ids):

class DeleteAction(BatchAction):

    def __init__(self, **kwargs):

    def action(self, request, obj_id):

    def delete(self, request, obj_id):

    def get_default_classes(self):

class UpdateAction(object):

    def action(self, request, datum, obj_id, cell_name, new_cell_value):

    def update_cell(self, request, datum, obj_id, cell_name, new_cell_value):

    def allowed(self, request, datum, cell):

\OpenStack\horizon-2014.1\horizon\tables\base.py

class Column(html.HTMLElement):

    def __init__(self, transform, verbose_name=None, sortable=True, link=None, allowed_data_types=[], hidden=False, attrs=None, status=False, status_choices=None, display_choices=None, empty_value=None, filters=None, classes=None, summation=None, auto=None, truncate=None, link_classes=None, wrap_list=False, form_field=None, form_field_attributes=None, update_action=None):

    def __unicode__(self):

    def __repr__(self):

    def get_raw_data(self, datum):

    def get_data(self, datum):

    def get_link_url(self, datum):

    def get_summation(self):

class Row(html.HTMLElement):

    def __init__(self, table, datum=None):

    def load_cells(self, datum=None):

    def __repr__(self):

    def __iter__(self):

    def status(self):

    def status_class(self):

    def render(self):

    def get_cells(self):

    def get_ajax_update_url(self):

    def can_be_selected(self, datum):

    def get_data(self, request, obj_id):

class Cell(html.HTMLElement):

    def __init__(self, datum, column, row, attrs=None, classes=None):

    def get_data(self, datum, column, row):

    def __repr__(self):

    def id(self):

    def value(self):

    def url(self):

    def status(self):

    def get_status_class(self, status):

    def get_default_classes(self):

    def get_ajax_update_url(self):

    def update_allowed(self):

    def render(self):

class DataTableOptions(object):

    def __init__(self, options):

class DataTableMetaclass(type):

    def __new__(mcs, name, bases, attrs):

class DataTable(object):

    def __init__(self, request, data=None, needs_form_wrapper=None, **kwargs):

    def __unicode__(self):

    def __repr__(self):

    def name(self):

    def footer(self):

    def multi_select(self):

    def filtered_data(self):

    def get_filter_string(self):

    def _populate_data_cache(self):

    def _filter_action(self, action, request, datum=None):

    def is_browser_table(self):

    def render(self):

    def get_absolute_url(self):

    def get_full_url(self):

    def get_empty_message(self):

    def get_object_by_id(self, lookup):

    def has_actions(self):

    def needs_form_wrapper(self):

    def get_table_actions(self):

    def get_row_actions(self, datum):

    def render_table_actions(self):

    def render_row_actions(self, datum):

    def parse_action(action_string):

    def take_action(self, action_name, obj_id=None, obj_ids=None):

    def check_handler(cls, request):

    def maybe_preempt(self):

    def inline_edit_handle(self, request, table_name, action_name, obj_id, new_row):

    def inline_update_action(self, request, datum, cell, obj_id, cell_name):

    def maybe_handle(self):

    def sanitize_id(self, obj_id):

    def get_object_id(self, datum):

    def get_object_display(self, datum):

    def has_more_data(self):

    def get_marker(self):

    def get_pagination_string(self):

    def calculate_row_status(self, statuses):

    def get_row_status_class(self, status):

    def get_columns(self):

    def get_rows(self):

\OpenStack\horizon-2014.1\horizon\tables\formset.py

class FormsetCell(horizon_tables.Cell):

    def __init__(self, *args, **kwargs):

class FormsetRow(horizon_tables.Row):

    def __init__(self, column, datum, form):

    def render(self):

class FormsetDataTableMixin(object):

    def __init__(self, *args, **kwargs):

    def get_required_columns(self):

    def _get_formset_data(self):

    def get_formset(self):

    def get_empty_row(self):

    def get_rows(self):

    def get_object_id(self, datum):

class FormsetDataTable(FormsetDataTableMixin, horizon_tables.DataTable):

\OpenStack\horizon-2014.1\horizon\tables\views.py

class MultiTableMixin(object):

    def __init__(self, *args, **kwargs):

    def _get_data_dict(self):

    def get_data_methods(self, table_classes, methods):

    def wrap_func(self, data_func, type_name, data_type):

        def final_data():

    def check_method_exist(self, func_pattern="%s", *names):

    def assign_type_string(self, data, type_name, data_type):

    def get_tables(self):

    def get_context_data(self, **kwargs):

    def has_more_data(self, table):

    def handle_table(self, table):

class MultiTableView(MultiTableMixin, generic.TemplateView):

    def construct_tables(self):

    def get(self, request, *args, **kwargs):

    def post(self, request, *args, **kwargs):

class DataTableView(MultiTableView):

    def _get_data_dict(self):

    def get_data(self):

    def get_tables(self):

    def get_table(self):

    def get_context_data(self, **kwargs):

class MixedDataTableView(DataTableView):

    def _get_data_dict(self):

    def assign_type_string(self, data, type_string):

    def get_table(self):

\OpenStack\horizon-2014.1\horizon\tables\__init__.py

\OpenStack\horizon-2014.1\horizon\tabs\base.py

class TabGroup(html.HTMLElement):

    def selected(self):

    def active(self):

    def __init__(self, request, **kwargs):

    def __repr__(self):

    def load_tab_data(self):

    def get_id(self):

    def get_default_classes(self):

    def tabs_not_available(self):

    def _set_active_tab(self):

    def render(self):

    def get_tabs(self):

    def get_tab(self, tab_name, allow_disabled=False):

    def get_loaded_tabs(self):

    def get_selected_tab(self):

class Tab(html.HTMLElement):

    def __init__(self, tab_group, request=None):

    def __repr__(self):

    def is_active(self):

    def load(self):

    def data(self):

    def data_loaded(self):

    def render(self):

    def get_id(self):

    def get_query_string(self):

    def get_default_classes(self):

    def get_template_name(self, request):

    def get_context_data(self, request):

    def enabled(self, request):

    def allowed(self, request):

    def post(self, request, *args, **kwargs):

class TableTab(Tab):

    def __init__(self, tab_group, request):

    def load_table_data(self):

    def get_context_data(self, request):

    def has_more_data(self, table):

\OpenStack\horizon-2014.1\horizon\tabs\views.py

class TabView(generic.TemplateView):

    def __init__(self):

    def get_tabs(self, request, **kwargs):

    def get_context_data(self, **kwargs):

    def handle_tabbed_response(self, tab_group, context):

    def get(self, request, *args, **kwargs):

    def render_to_response(self, *args, **kwargs):

class TabbedTableView(tables.MultiTableMixin, TabView):

    def __init__(self, *args, **kwargs):

    def load_tabs(self):

    def get_tables(self):

    def handle_table(self, table_dict):

    def get(self, request, *args, **kwargs):

    def post(self, request, *args, **kwargs):

\OpenStack\horizon-2014.1\horizon\tabs\__init__.py

\OpenStack\horizon-2014.1\horizon\templatetags\branding.py

class SiteBrandingNode(template.Node):

    def render(self, context):

def site_branding(parser, token):

def site_title(parser, token):

def site_branding_link():

class SaveBrandingNode(template.Node):

    def __init__(self, var_name):

    def render(self, context):

def save_site_branding(parser, token):

\OpenStack\horizon-2014.1\horizon\templatetags\horizon.py

def has_permissions(user, component):

def has_permissions_on_list(components, user):

def horizon_nav(context):

def horizon_main_nav(context):

def horizon_dashboard_nav(context):

def quota(val, units=None):

def quotainf(val, units=None):

class JSTemplateNode(template.Node):

    def __init__(self, nodelist):

    def render(self, context, ):

def jstemplate(parser, token):

def load_config():

\OpenStack\horizon-2014.1\horizon\templatetags\parse_date.py

class ParseDateNode(template.Node):

    def render(self, datestring):

def parse_date(value):

\OpenStack\horizon-2014.1\horizon\templatetags\shellfilter.py

def shellfilter(value):

\OpenStack\horizon-2014.1\horizon\templatetags\sizeformat.py

def int_format(value):

def float_format(value):

def filesizeformat(bytes, filesize_number_format):

def float_cast_filesizeformat(value, multiplier=1, format=int_format):

def mbformat(mb):

def mb_float_format(mb):

def diskgbformat(gb):

\OpenStack\horizon-2014.1\horizon\templatetags\truncate_filter.py

def truncate(value, size):

\OpenStack\horizon-2014.1\horizon\templatetags\__init__.py

\OpenStack\horizon-2014.1\horizon\test\customization\cust_test1.py

\OpenStack\horizon-2014.1\horizon\test\customization\cust_test2.py

\OpenStack\horizon-2014.1\horizon\test\customization\__init__.py

\OpenStack\horizon-2014.1\horizon\test\helpers.py

class RequestFactoryWithMessages(RequestFactory):

    def get(self, *args, **kwargs):

    def post(self, *args, **kwargs):

class TestCase(django_test.TestCase):

    def setUp(self):

    def tearDown(self):

    def set_permissions(self, permissions=None):

    def assertNoMessages(self, response=None):

    def assertMessageCount(self, response=None, **kwargs):

class SeleniumTestCase(django_test.LiveServerTestCase):

    def setUpClass(cls):

    def tearDownClass(cls):

    def setUp(self):

class JasmineTests(SeleniumTestCase):

    def run_jasmine(self):

        def jasmine_done(driver):

    def test(self):

\OpenStack\horizon-2014.1\horizon\test\jasmine\jasmine.py

def dispatcher(request, test_name):

\OpenStack\horizon-2014.1\horizon\test\jasmine\jasmine_tests.py

class ServicesTests(test.JasmineTests):

\OpenStack\horizon-2014.1\horizon\test\jasmine\__init__.py

\OpenStack\horizon-2014.1\horizon\test\settings.py

\OpenStack\horizon-2014.1\horizon\test\tests\base.py

class MyDash(horizon.Dashboard):

class MyPanel(horizon.Panel):

class AdminPanel(horizon.Panel):

class BaseHorizonTests(test.TestCase):

    def setUp(self):

    def tearDown(self):

    def _reload_urls(self):

class HorizonTests(BaseHorizonTests):

    def test_registry(self):

    def test_site(self):

    def test_dashboard(self):

    def test_panels(self):

    def test_panel_without_slug_fails(self):

    def test_registry_without_registerable_class_attr_fails(self):

    def test_index_url_name(self):

    def test_lazy_urls(self):

    def test_horizon_test_isolation_1(self):

    def test_horizon_test_isolation_2(self):

    def test_public(self):

    def test_required_permissions(self):

    def test_ssl_redirect_by_proxy(self):

class GetUserHomeTests(BaseHorizonTests):

    def setUp(self):

    def tearDown(self):

    def test_using_callable(self):

        def fancy_user_fnc(user):

    def test_using_module_function(self):

    def test_using_url(self):

class CustomPanelTests(BaseHorizonTests):

    def setUp(self):

    def tearDown(self):

    def test_customize_dashboard(self):

class CustomPermissionsTests(BaseHorizonTests):

    def setUp(self):

    def tearDown(self):

    def test_customized_permissions(self):

\OpenStack\horizon-2014.1\horizon\test\tests\forms.py

class FormMixinTests(test.TestCase):

    def _prepare_view(self, cls, request_headers, *args, **kwargs):

    def test_modal_form_mixin_hide_true_if_ajax(self):

    def test_modal_form_mixin_add_to_field_header_set(self):

    def test_modal_form_mixin_add_to_field_header_not_set(self):

    def _test_form_mixin_add_to_field_header(self, add_field=False):

    def test_template_name_change_based_on_ajax_request(self):

class TestForm(forms.SelfHandlingForm):

    def handle(self, request, data):

class FormErrorTests(test.TestCase):

    def setUp(self):

    def _render_form(self):

    def test_set_warning(self):

    def test_api_error(self):

\OpenStack\horizon-2014.1\horizon\test\tests\messages.py

class MessageTests(test.TestCase):

    def test_middleware_header(self):

    def test_safe_message(self):

\OpenStack\horizon-2014.1\horizon\test\tests\middleware.py

class MiddlewareTests(test.TestCase):

    def test_redirect_login_fail_to_login(self):

    def test_redirect_session_timeout(self):

    def test_process_response_redirect_on_ajax_request(self):

\OpenStack\horizon-2014.1\horizon\test\tests\selenium.py

class BrowserTests(test.SeleniumTestCase):

    def test_qunit(self):

        def qunit_done(driver):

\OpenStack\horizon-2014.1\horizon\test\tests\tables.py

class FakeObject(object):

    def __init__(self, id, name, value, status, optional=None, excluded=None):

    def __repr__(self):

class MyLinkAction(tables.LinkAction):

    def get_link_url(self, datum=None, *args, **kwargs):

class MyAction(tables.Action):

    def allowed(self, request, obj=None):

    def handle(self, data_table, request, object_ids):

class MyColumn(tables.Column):

class MyRowSelectable(tables.Row):

    def can_be_selected(self, datum):

class MyRow(tables.Row):

    def get_data(cls, request, obj_id):

class MyBatchAction(tables.BatchAction):

    def action(self, request, object_ids):

class MyToggleAction(tables.BatchAction):

    def allowed(self, request, obj=None):

    def action(self, request, object_ids):

class MyFilterAction(tables.FilterAction):

    def filter(self, table, objs, filter_string):

        def comp(obj):

class MyUpdateAction(tables.UpdateAction):

    def allowed(self, *args):

    def update_cell(self, *args):

class MyUpdateActionNotAllowed(MyUpdateAction):

    def allowed(self, *args):

def get_name(obj):

def get_link(obj):

class MyTable(tables.DataTable):

class MyTableSelectable(MyTable):

class MyTableNotAllowedInlineEdit(MyTable):

class NoActionsTable(tables.DataTable):

class DataTableTests(test.TestCase):

    def test_table_instantiation(self):

    def test_table_force_no_multiselect(self):

    def test_table_force_no_actions_column(self):

    def test_table_natural_no_inline_editing(self):

    def test_table_natural_no_actions_column(self):

    def test_table_natural_no_multiselect(self):

    def test_table_column_inheritance(self):

    def test_table_construction(self):

    def test_table_column(self):

    def test_table_row(self):

    def test_table_column_truncation(self):

    def test_table_rendering(self):

    def test_inline_edit_available_cell_rendering(self):

    def test_inline_edit_available_not_allowed_cell_rendering(self):

    def test_inline_edit_mod_cell_rendering(self):

    def test_inline_edit_mod_checkbox_with_label(self):

    def test_inline_edit_mod_textarea(self):

    def test_table_actions(self):

    def test_inline_edit_update_action_get_non_ajax(self):

    def test_inline_edit_update_action_get(self):

    def test_inline_edit_update_action_get_not_allowed(self):

    def test_inline_edit_update_action_get_inline_edit_mod(self):

    def test_inline_edit_update_action_post(self):

    def test_inline_edit_update_action_post_not_allowed(self):

    def test_inline_edit_update_action_post_validation_error(self):

    def test_column_uniqueness(self):

    def test_summation_row(self):

    def test_table_action_attributes(self):

    def test_table_action_object_display_is_none(self):

    def test_table_column_can_be_selected(self):

    def test_broken_filter(self):

class SingleTableView(table_views.DataTableView):

    def get_data(self):

class TableWithPermissions(tables.DataTable):

class SingleTableViewWithPermissions(SingleTableView):

class MultiTableView(tables.MultiTableView):

    def get_table_with_permissions_data(self):

    def get_my_table_data(self):

class DataTableViewTests(test.TestCase):

    def _prepare_view(self, cls, *args, **kwargs):

    def test_data_table_view(self):

    def test_data_table_view_not_authorized(self):

    def test_data_table_view_authorized(self):

    def test_multi_table_view_not_authorized(self):

    def test_multi_table_view_authorized(self):

class FormsetTableTests(test.TestCase):

    def test_populate(self):

\OpenStack\horizon-2014.1\horizon\test\tests\tabs.py

class BaseTestTab(horizon_tabs.Tab):

    def get_context_data(self, request):

class TabOne(BaseTestTab):

class TabDelayed(BaseTestTab):

class TabDisabled(BaseTestTab):

    def enabled(self, request):

class TabDisallowed(BaseTestTab):

    def allowed(self, request):

class Group(horizon_tabs.TabGroup):

    def tabs_not_available(self):

class TabWithTable(horizon_tabs.TableTab):

    def get_my_table_data(self):

class RecoverableErrorTab(horizon_tabs.Tab):

    def get_context_data(self, request):

class TableTabGroup(horizon_tabs.TabGroup):

class TabWithTableView(horizon_tabs.TabbedTableView):

class TabTests(test.TestCase):

    def test_tab_group_basics(self):

    def test_tab_group_active_tab(self):

    def test_tab_basics(self):

    def test_rendering(self):

    def test_table_tabs(self):

    def test_tabbed_table_view(self):

class TabExceptionTests(test.TestCase):

    def setUp(self):

    def tearDown(self):

    def test_tab_view_exception(self):

\OpenStack\horizon-2014.1\horizon\test\tests\templatetags.py

def single_line(text):

class TemplateTagTests(test.TestCase):

    def render_template_tag(self, tag_name, tag_require=''):

    def render_template(self, template_text, tag_require='', context={}):

    def test_site_branding_tag(self):

    def test_size_format_filters(self):

    def test_size_format_filters_with_string(self):

    def test_truncate_filter(self):

    def test_quota_filter(self):

\OpenStack\horizon-2014.1\horizon\test\tests\utils.py

class ValidatorsTests(test.TestCase):

    def test_validate_ipv4_cidr(self):

    def test_validate_ipv6_cidr(self):

    def test_validate_mixed_cidr(self):

    def test_validate_IPs(self):

    def test_validate_multi_ip_field(self):

    def test_port_validator(self):

    def test_ip_proto_validator(self):

    def test_port_range_validator(self):

class SecretKeyTests(test.TestCase):

    def test_generate_secret_key(self):

    def test_generate_or_read_key_from_file(self):

class FiltersTests(test.TestCase):

    def test_replace_underscore_filter(self):

    def test_parse_isotime_filter(self):

class TimeSinceNeverFilterTests(test.TestCase):

    def test_timesince_or_never_returns_default_for_empty_string(self):

    def test_timesince_or_never_returns_default_for_none(self):

    def test_timesince_or_never_returns_default_for_gibberish(self):

    def test_timesince_or_never_returns_with_custom_default(self):

    def test_timesince_or_never_returns_with_custom_empty_string_default(self):

    def test_timesince_or_never_returns_same_output_as_django_date(self):

    def test_timesince_or_never_returns_same_output_as_django_datetime(self):

class MemoizedTests(test.TestCase):

    def test_memoized_decorator_cache_on_next_call(self):

        def cache_calls(remove_from):

        def non_cached_calls(remove_from):

\OpenStack\horizon-2014.1\horizon\test\tests\workflows.py

def local_callback_func(request, context):

def other_callback_func(request, context):

def extra_callback_func(request, context):

class TestActionOne(workflows.Action):

    def populate_project_id_choices(self, request, context):

    def populate_user_id_choices(self, request, context):

    def handle(self, request, context):

class TestActionTwo(workflows.Action):

class TestActionThree(workflows.Action):

class AdminAction(workflows.Action):

class TestStepOne(workflows.Step):

class TestStepTwo(workflows.Step):

class TestExtraStep(workflows.Step):

class AdminStep(workflows.Step):

class TestWorkflow(workflows.Workflow):

class TestWorkflowView(workflows.WorkflowView):

class TestFullscreenWorkflow(workflows.Workflow):

class TestFullscreenWorkflowView(workflows.WorkflowView):

class WorkflowsTests(test.TestCase):

    def setUp(self):

    def tearDown(self):

    def _reset_workflow(self):

    def test_workflow_construction(self):

    def test_step_construction(self):

    def test_step_invalid_callback(self):

    def test_connection_handlers_called(self):

    def test_workflow_validation(self):

    def test_workflow_finalization(self):

    def test_workflow_view(self):

    def test_workflow_registration(self):

    def test_workflow_render(self):

    def test_has_permissions(self):

    def test_entry_point(self):

    def test_fullscreenworkflow_view(self):

    def test_notfullscreenworkflow_view(self):

\OpenStack\horizon-2014.1\horizon\test\tests\__init__.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\dashboard.py

class CuteGroup(horizon.PanelGroup):

class FierceGroup(horizon.PanelGroup):

class Cats(horizon.Dashboard):

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\kittens\models.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\kittens\panel.py

class Kittens(horizon.Panel):

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\kittens\urls.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\kittens\views.py

class IndexView(views.APIView):

    def get_data(self, request, context, *args, **kwargs):

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\kittens\__init__.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\models.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\tigers\models.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\tigers\panel.py

class Tigers(horizon.Panel):

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\tigers\urls.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\tigers\views.py

class IndexView(views.APIView):

    def get_data(self, request, context, *args, **kwargs):

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\tigers\__init__.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\cats\__init__.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\dogs\dashboard.py

class Dogs(horizon.Dashboard):

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\dogs\models.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\dogs\puppies\models.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\dogs\puppies\panel.py

class Puppies(horizon.Panel):

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\dogs\puppies\urls.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\dogs\puppies\views.py

class IndexView(views.APIView):

    def get_data(self, request, context, *args, **kwargs):

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\dogs\puppies\__init__.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\dogs\__init__.py

\OpenStack\horizon-2014.1\horizon\test\test_dashboards\__init__.py

\OpenStack\horizon-2014.1\horizon\test\urls.py

\OpenStack\horizon-2014.1\horizon\test\__init__.py

\OpenStack\horizon-2014.1\horizon\utils\csvbase.py

class CsvDataMixin(object):

    def __init__(self):

    def write_csv_header(self):

    def write_csv_row(self, args):

    def encode(self, value):

class BaseCsvResponse(CsvDataMixin, HttpResponse):

    def __init__(self, request, template, context, content_type, **kwargs):

    def get_row_data(self):

        def __init__(self, request, template, context, content_type, **kwargs):

        def buffer(self):

        def get_content(self):

        def get_row_data(self):

\OpenStack\horizon-2014.1\horizon\utils\fields.py

class IPField(forms.Field):

    def __init__(self, *args, **kwargs):

    def validate(self, value):

    def clean(self, value):

class MultiIPField(IPField):

    def validate(self, value):

    def clean(self, value):

class SelectWidget(widgets.Select):

    def __init__(self, attrs=None, choices=(), data_attrs=(), transform=None):

    def render_option(self, selected_choices, option_value, option_label):

\OpenStack\horizon-2014.1\horizon\utils\filters.py

def replace_underscores(string):

def parse_isotime(timestr, default=None):

def timesince_or_never(dt, default=None):

def timesince_sortable(dt):

\OpenStack\horizon-2014.1\horizon\utils\functions.py

def _lazy_join(separator, strings):

def bytes_to_gigabytes(bytes):

def add_logout_reason(request, response, reason):

def logout_with_message(request, msg):

def get_page_size(request, default=20):

\OpenStack\horizon-2014.1\horizon\utils\html.py

class HTMLElement(object):

    def __init__(self):

    def get_default_classes(self):

    def get_default_attrs(self):

    def get_final_attrs(self):

    def attr_string(self):

    def class_string(self):

\OpenStack\horizon-2014.1\horizon\utils\memoized.py

class UnhashableKeyWarning(RuntimeWarning):

    def wrapped(*args, **kwargs):

        def remove(ref):

\OpenStack\horizon-2014.1\horizon\utils\secret_key.py

class FilePermissionError(Exception):

def generate_key(key_length=64):

def generate_or_read_from_file(key_file='.secret_key', key_length=64):

\OpenStack\horizon-2014.1\horizon\utils\validators.py

def validate_port_range(port):

def validate_ip_protocol(ip_proto):

def password_validator():

def password_validator_msg():

def validate_port_or_colon_separated_port_range(port_range):

\OpenStack\horizon-2014.1\horizon\utils\__init__.py

\OpenStack\horizon-2014.1\horizon\version.py

\OpenStack\horizon-2014.1\horizon\views.py

def user_home(request):

class APIView(generic.TemplateView):

    def get_data(self, request, context, *args, **kwargs):

    def get(self, request, *args, **kwargs):

\OpenStack\horizon-2014.1\horizon\workflows\base.py

class WorkflowContext(dict):

    def __init__(self, workflow, *args, **kwargs):

    def __setitem__(self, key, val):

    def __delitem__(self, key):

    def set(self, key, val):

    def unset(self, key):

class ActionMetaclass(forms.forms.DeclarativeFieldsMetaclass):

    def __new__(mcs, name, bases, attrs):

class Action(forms.Form):

    def __init__(self, request, context, *args, **kwargs):

    def __unicode__(self):

    def __repr__(self):

    def _populate_choices(self, request, context):

    def get_help_text(self, extra_context=None):

    def add_error(self, message):

    def handle(self, request, context):

class MembershipAction(Action):

    def get_default_role_field_name(self):

    def get_member_field_name(self, role_id):

class Step(object):

    def __repr__(self):

    def __unicode__(self):

    def __init__(self, workflow):

OpenStack Index

Next