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 година