aboutsummaryrefslogtreecommitdiffstats
path: root/tests/panels
AgeCommit message (Collapse)Author
2014-04-25Improve the redirect context processor test.Daniel Harding
* rename the context processor used from 'custom' to 'broken' * remove the custom middleware, because it is not used in the context of the test * rename the test to better identify what it is testing
2014-04-19Flake8.Aymeric Augustin
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-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-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-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-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-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-10Improve regression test added in 8525bfc7.Aymeric Augustin
Refs #422.
2013-11-01Split tests across several modules.Aymeric Augustin
Fix #426.