aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)Author
2014-04-15Added unit test for broken context processors due to use of `render`Juan Catalano
This adds the regression test for the case when a custom context processor breaks cause of the use of `render` in the redirects panel.
2014-02-13Toolbar insertion test for middlewareSertaç Ö. Yıldız
Byte counts of "İ" and "İ".lower() are different. If the page html contains "İ", process_response() method cannot insert the toolbar content at the correct index, and breaks the page content.
2014-01-08Allow the tests to run on Django 1.7.Aymeric Augustin
2013-12-23Fix staticfiles panel to work with prefixed STATICFILES_DIRS.Jannis Leidel
Closes #503 and #507. Many thanks to Alexander Clausen (@sk1p) for the inspiration for the patch.
2013-12-15Properly disable instrumentation for the template panel.Aymeric Augustin
It's important to disconnect the signal at the end of a request because the toolbar now stores panels for past request. Fix #491 (presumably).
2013-12-09Use collections.OrderedDict if available.Jannis Leidel
2013-12-09More test relaxing.Jannis Leidel
2013-12-09Made a test less Django version dependent.Jannis Leidel
2013-12-09Use django-discover-runner on older Djangos.Jannis Leidel
2013-12-09Another pass over the staticfiles panel.Jannis Leidel
- adds some docstrings - adds some basic tests - adds the staticfiles panel to the default list of panels - fixed a pluralization bug in the template - refactored some things into own methods for easier testing
2013-11-30Extract output of context processors instead of recreating it.Aymeric Augustin
Also include context processors explicitly passed to RequestContext. Fix #353.
2013-11-29Move support for line_profiler to a 3rd party panel.Aymeric Augustin
Many thanks to Dave McLain. Fix #477.
2013-11-24Update all panels to follow the public API.Aymeric Augustin
2013-11-24Removed unneeded Panel.slug attribute.Aymeric Augustin
2013-11-24Remove HIDE_DJANGO_SQL configuration option.Aymeric Augustin
It was badly named and HIDE_IN_STACKTRACES provides a more general solution. The ability to show code in django.contrib but not in django doesn't seem particularly useful. Fix #474.
2013-11-24Rename some settings for clarity and consistency.Aymeric Augustin
Thanks Jannis for his help.
2013-11-24Rename storage to store to avoid conflicting with Django terminology.Aymeric Augustin
2013-11-24Mark two randomly failing tests as expected failures :'(Aymeric Augustin
2013-11-24Rename all panels consistently.Aymeric Augustin
Enforce absolute imports to avoid clashing with built-in package names. Thanks Jannis for his feedback.
2013-11-22Add tests for redirects panel.Aymeric Augustin
Also simplify the implementation.
2013-11-22Add (failing) tests for the profiling panel.Aymeric Augustin
Refs #466.
2013-11-16Flat is better than nested.Aymeric Augustin
2013-11-16Add Selenium test for storage expiration.Aymeric Augustin
2013-11-16Add Selenim test.Aymeric Augustin
2013-11-16Remove redundant declarations of TestCase.urls.Aymeric Augustin
Test settings already have this value.
2013-11-16Clean up DebugToolbar class, especially panels handling.Aymeric Augustin
2013-11-15Add doctype to HTML templates.Aymeric Augustin
2013-11-13Provide an option to force rendering panels in page.Aymeric Augustin
Requested by David who seems to runs the debug toolbar in production :-)
2013-11-12Make it possible for panels to provide URLs and views.Aymeric Augustin
Fix #448.
2013-11-12Move the logic to load panels inside the DebugToolbar class.Aymeric Augustin
This has the additional advantage of eliminating a side-effect that happened at import time unnecessarily. It justified refactoring the way we handle settings and defaults.
2013-11-12Remove unnecessary nesting.Aymeric Augustin
2013-11-11Don't set up the toolbar when DEBUG = False.Aymeric Augustin
2013-11-11Switch to regular URL reversing in templates.Aymeric Augustin
2013-11-11Simplify monkey-patching of URLs into urlconf.Aymeric Augustin
2013-11-11Automatically enable DebugToolbarMiddleware when it isn't enabled.Aymeric Augustin
2013-11-11Set INTERNAL_IPS to a convenient default when it isn't set.Aymeric Augustin
2013-11-10Be resilient if not all middleware run.Aymeric Augustin
Fix #129.
2013-11-10Add test for the cache panel.Aymeric Augustin
2013-11-10Disable instrumentation for disabled panels.Aymeric Augustin
This eliminates the performance overhead when a panel is disabled.
2013-11-10Fix PEP 8 violations.Aymeric Augustin
2013-11-10Move two tests specific to the request vars panel in their module.Aymeric Augustin
2013-11-10Normalize the way we write panel tests.Aymeric Augustin
2013-11-10Move a test specific to the template panel in its module.Aymeric Augustin
2013-11-10Move a test specific to the profiling panel in its module.Aymeric Augustin
2013-11-10Invalidate cached list of panels during tests.Aymeric Augustin
2013-11-10Improve regression test added in 8525bfc7.Aymeric Augustin
Refs #422.
2013-11-01Split tests across several modules.Aymeric Augustin
Fix #426.
2013-11-01Remove unused file.Aymeric Augustin
2013-11-01Removed redundant settings manipulations in tests.Aymeric Augustin
2013-11-01Get rid of custom test runner.Aymeric Augustin
Refs #426.