Michael van Tellingen
2aac20719e
Don't use django.template.Context for template rendering
Since Django 1.11 dicts should be passed to template rendering functions
преди 8 години
Michael van Tellingen
0ebe344a27
Merge tests.integration with tests.unit
The idea of splitting integration from unittests is good in theory
but leads to a lot of mental overhead. Besides whenever a tests
interacts with a database it isn't a unittest anyway.
преди 9 години
Michael van Tellingen
28ea962ab6
Rename all tests files from *_tests.py to test_*.py
Better to use filenames which are commonly used in the python word then
custom ones.
преди 9 години
Michael van Tellingen
b1d028e41e
Fix unittests on 1.7/1.8 by fixing TemplateDoesNotExist exception
преди 10 години
Michael van Tellingen
63d6547e98
Various import fixes which were removed in Django 1.9
преди 10 години
David Winterbottom
a64fb47320
Raise a ValueError if a string is passed to get_core_apps
It's such a common error, we should try and give a friendly error
message when it occurs.
Closes #1603 .
преди 11 години
Marco Badan
1a61781152
Fix `TEMPLATE_DIRS` test config
The config was picking the wrong directory so the custom test templates
were not used during tests.
Notes
- Fix missing i18n load tags
- Remove mixed tab/space indentation
- Add two settings tests
преди 11 години
David Winterbottom
314d211284
Moved Oscar's templates into a new folder.
This avoids conflicts with other libraries that use the same trick for
extending templates.
преди 13 години
David Winterbottom
feb8c9a327
Moved tests into separate package.
Also split them into unit and functional tests.
преди 13 години