MCPcopy Create free account

hub / github.com/django-commons/django-debug-toolbar / functions

Functions780 in github.com/django-commons/django-debug-toolbar

Methodtest_database_queries_are_efficient
Verify that DatabaseStore uses efficient database queries.
tests/test_store.py:307
Methodtest_debug_toolbar_installed_when_running_tests
(self, reverse)
tests/test_checks.py:243
Methodtest_default_case
(self)
tests/panels/test_staticfiles.py:16
Methodtest_default_ordering
Test that the default ordering is by created_at in descending order
tests/test_models.py:30
Methodtest_defaults_to_django_language_code
(self, mock_language_override)
tests/test_decorators.py:64
Methodtest_delete
(self)
tests/test_store.py:165
Methodtest_deprecated_functions
(self)
tests/test_utils.py:84
Methodtest_deprecation_warning
Test that a deprecation warning is shown when RedirectsPanel used.
tests/panels/test_redirects.py:92
Methodtest_deserialize
(self)
tests/test_store.py:83
Methodtest_deserialize_binary_data
(self)
tests/test_store.py:30
Methodtest_dict_for_request_in_method_get
Test verifies the correctness of the statistics generation method in the case when the GET request is class dict
tests/panels/test_request.py:54
Methodtest_dict_for_request_in_method_post
Test verifies the correctness of the statistics generation method in the case when the POST request is class dict
tests/panels/test_request.py:80
Methodtest_dict_sanitization
Test sanitization of a regular dictionary.
tests/test_utils.py:119
Methodtest_disable_stacktraces
(self)
tests/panels/test_sql.py:630
Methodtest_disabled
(self)
tests/panels/test_history.py:20
Methodtest_disabled
(self)
tests/panels/test_sql.py:85
Methodtest_disabled
(self)
tests/panels/test_template.py:99
Methodtest_displays_server_error
(self)
tests/test_integration.py:867
Methodtest_django_cached_template_loader
(self)
tests/test_integration.py:821
Methodtest_django_jinja2
(self)
tests/panels/test_template.py:157
Methodtest_django_jinja2_parent_template_instrumented
When Jinja2 templates are properly instrumented, the parent template should be instrumented.
tests/panels/test_template.py:166
Methodtest_does_not_exist_nonce_wasnt_used
A `nonce` should not exist even when using the `CSPMiddleware` if the view didn't access the request's CSP nonce.
tests/test_csp_rendering.py:110
Methodtest_empty_context
(self)
tests/panels/test_template.py:105
Methodtest_empty_prefix_errors
(self)
tests/test_toolbar.py:8
Methodtest_empty_when_debug_is_false
(self)
tests/test_toolbar.py:12
Methodtest_erroneous_query
Test that an error in the query isn't swallowed by the middleware.
tests/panels/test_sql.py:593
Methodtest_escapes_panel_title
(self)
tests/panels/test_custom.py:17
Methodtest_execute_with_psycopg_composed_sql
Test command executed using a Composed psycopg object is logged. Ref: https://www.psycopg.org/psycopg3/docs/api/sql.html
tests/panels/test_sql.py:605
Methodtest_exists
(self)
tests/test_store.py:134
Methodtest_exists
A `nonce` should exist when using the `CSPMiddleware`.
tests/test_csp_rendering.py:89
Methodtest_expired_store
(self)
tests/test_integration.py:790
Methodtest_explain_with_union
(self)
tests/panels/test_sql.py:872
Methodtest_failed_convert
(self)
tests/test_sanitize.py:12
Methodtest_file_form_no_id_without_enctype_multipart_form_data
Test that the panel displays a form invalid message when there is a file input but encoding not set to multipart/form-data.
tests/panels/test_alerts.py:35
Methodtest_file_form_with_enctype_multipart_form_data
(self)
tests/panels/test_alerts.py:51
Methodtest_file_form_with_enctype_multipart_form_data_in_button
(self)
tests/panels/test_alerts.py:59
Methodtest_file_form_without_enctype_multipart_form_data
Test that the panel displays a form invalid message when there is a file input but encoding not set to multipart/form-data.
tests/panels/test_alerts.py:21
Methodtest_flat_template_information
Test case for when the query is used in a flat template hierarchy (without included templates).
tests/panels/test_sql.py:782
Methodtest_func
(self)
tests/test_utils.py:18
Methodtest_generate_server_timing
(self)
tests/panels/test_cache.py:135
Methodtest_generate_server_timing
(self)
tests/panels/test_sql.py:324
Methodtest_generate_stats_no_profiler
Test generating stats with no profiler.
tests/panels/test_profiling.py:73
Methodtest_generate_stats_no_root_func
Test generating stats using profiler without root function.
tests/panels/test_profiling.py:80
Methodtest_get_or_set_does_not_override_existing_value
(self)
tests/panels/test_cache.py:82
Methodtest_get_or_set_value
(self)
tests/panels/test_cache.py:48
Methodtest_get_stack_trace_skip
(self)
tests/test_utils.py:71
Methodtest_get_store
(self)
tests/test_store.py:228
Methodtest_get_store_with_setting
(self)
tests/test_store.py:234
Methodtest_has_path
(self)
tests/test_toolbar.py:15
Methodtest_history_headers
Validate the headers injected from the history panel.
tests/panels/test_history.py:108
Methodtest_history_headers_unobserved
Validate the headers aren't injected from the history panel.
tests/panels/test_history.py:115
Methodtest_history_panel_integration_content
Verify the history panel's content renders properly..
tests/panels/test_history.py:88
Methodtest_history_refresh
Verify refresh history response has request variables.
tests/panels/test_history.py:188
Methodtest_history_sidebar
Validate the history sidebar view.
tests/panels/test_history.py:127
Methodtest_history_sidebar_expired_request_id
Validate the history sidebar view.
tests/panels/test_history.py:157
Methodtest_history_sidebar_includes_history
Validate the history sidebar view.
tests/panels/test_history.py:139
Methodtest_history_sidebar_invalid
(self)
tests/panels/test_history.py:104
Methodtest_hits_and_misses
(self)
tests/panels/test_cache.py:31
Methodtest_html5_validation
(self)
tests/test_integration_async.py:251
Methodtest_html5_validation
(self)
tests/test_integration.py:330
Methodtest_ids
(self)
tests/test_store.py:126
Methodtest_importlib_path_issue_1612
(self)
tests/test_utils.py:44
Methodtest_include_package_urls
Test urlsconf that uses the debug_toolbar.urls in the include call
tests/test_integration_async.py:125
Methodtest_include_package_urls
Test urlsconf that uses the debug_toolbar.urls in the include call
tests/test_integration.py:189
Methodtest_incompatible_app_version_fn
(self)
tests/panels/test_versions.py:22
Methodtest_index
(self)
example/test_views.py:10
Methodtest_initial_set_signed
(self)
tests/test_forms.py:43
Methodtest_insert_content
Test that the panel only inserts content after generate_stats and not the process_request.
tests/panels/test_cache.py:117
Methodtest_insert_content
Test that the panel only inserts content after generate_stats and not the process_request.
tests/panels/test_sql.py:552
Methodtest_insert_content
Test that the panel only inserts content after generate_stats and not the process_request.
tests/panels/test_profiling.py:28
Methodtest_insert_content
Test that the panel only inserts content after generate_stats and not the process_request.
tests/panels/test_template.py:72
Methodtest_insert_content
Test that the panel only inserts content after generate_stats and not the process_request.
tests/panels/test_request.py:26
Methodtest_insert_content
Test that the panel only inserts content after generate_stats and not the process_request.
tests/panels/test_staticfiles.py:47
Methodtest_insert_locals
Test that the panel inserts locals() content.
tests/panels/test_sql.py:566
Methodtest_integration_file_form_without_enctype_multipart_form_data
(self)
tests/panels/test_alerts.py:88
Methodtest_intercept_redirects
(self)
tests/test_integration_async.py:504
Methodtest_intercept_redirects
(self)
tests/test_integration.py:651
Methodtest_is_running_tests
(self, mock_os, mock_sys)
tests/test_settings.py:11
Methodtest_is_toolbar_request
(self)
tests/test_integration_async.py:154
Methodtest_is_toolbar_request
(self)
tests/test_integration.py:245
Methodtest_is_toolbar_request_override_request_urlconf
Test cases when the toolbar URL is configured on the request.
tests/test_integration_async.py:174
Methodtest_is_toolbar_request_override_request_urlconf
Test cases when the toolbar URL is configured on the request.
tests/test_integration.py:265
Methodtest_is_toolbar_request_with_script_prefix
Test cases when Django is running under a path prefix, such as via the FORCE_SCRIPT_NAME setting.
tests/test_integration_async.py:183
Methodtest_is_toolbar_request_with_script_prefix
Test cases when Django is running under a path prefix, such as via the FORCE_SCRIPT_NAME setting.
tests/test_integration.py:274
Methodtest_is_toolbar_request_without_djdt_urls
Test cases when the toolbar urls aren't configured.
tests/test_integration_async.py:165
Methodtest_is_toolbar_request_without_djdt_urls
Test cases when the toolbar urls aren't configured.
tests/test_integration.py:256
Methodtest_json_param_conversion
(self)
tests/panels/test_sql.py:434
Methodtest_lambda
(self)
tests/test_utils.py:27
Methodtest_lazyobject
(self)
tests/panels/test_template.py:118
Methodtest_lazyobject_eval
(self)
tests/panels/test_template.py:126
Methodtest_list_for_request_in_method_post
Verify that the toolbar doesn't crash if request.POST contains unexpected data. See https://github.com/django-commons/django-debug-t
tests/panels/test_request.py:93
Methodtest_listcomp_escaped
(self)
tests/panels/test_profiling.py:65
Methodtest_load_panels
Test that panels are not rendered during the request with RENDER_PANELS=False
tests/test_integration_async.py:480
Methodtest_load_panels
Test that panels are not rendered during the request with RENDER_PANELS=False
tests/test_integration.py:627
Methodtest_locals
(self)
tests/test_utils.py:93
Methodtest_low_level_cache_view
Test cases when low level caching API is used within a request.
tests/test_integration_async.py:135
Methodtest_low_level_cache_view
Test cases when low level caching API is used within a request.
tests/test_integration.py:203
Methodtest_methods_are_not_implemented
(self)
tests/test_store.py:91
Methodtest_middleware
(self)
tests/test_integration.py:315
Methodtest_middleware_in_async_mode
(self)
tests/test_integration_async.py:235
← previousnext →501–600 of 780, ranked by callers