lp:~zyga/django-testscenarios/0.6
- Get this branch:
- bzr branch lp:~zyga/django-testscenarios/0.6
Branch merges
- Linaro Validation Team: Pending requested
-
Diff: 431 lines (+160/-56)15 files modifieddjango_testproject/settings.py (+16/-14)
django_testproject/templates/django_testproject/base.html (+10/-0)
django_testproject/templates/registration/base.html (+4/-0)
django_testproject/templates/registration/logged_out.html (+3/-0)
django_testproject/templates/registration/login.html (+25/-0)
django_testproject/tests.py (+50/-3)
django_testscenarios/__init__.py (+17/-0)
django_testscenarios/models.py (+1/-1)
django_testscenarios/test_project/__init__.py (+1/-1)
django_testscenarios/test_project/manage.py (+2/-2)
django_testscenarios/test_project/settings.py (+2/-6)
django_testscenarios/test_project/tests.py (+6/-2)
django_testscenarios/tests.py (+6/-6)
django_testscenarios/ubertest.py (+5/-6)
setup.py (+12/-15)
Branch information
Recent revisions
- 23. By Zygmunt Krynicki
-
Reorganize to be compatible with django_testproject again, bump copyright headers, update setup.py, fix pep8 issues
Sorry bzr ci -i (interactive plugin) is broken on bzr 2.4 beta
- 22. By Zygmunt Krynicki
-
Fix pep8 issues in settings.py and add django_
testproject/ templates to TEMPLATES_DIR - 21. By Zygmunt Krynicki
-
Add templates that allow test projects to use minimal features from django.contrib.auth
- 20. By Zygmunt Krynicki
-
Add copyright header, add run_tests_for
Previously run_tests hard-coded the location of DJANGO_
SETTINGS_ MODULE, this
proved a bad decision due to unfortunate interactions with path altering
modules and Django fork-based double import of the actual settings module.To fix this I introduce a new function run_tests_for() that allows the caller
to explicitly provide the settings module for their application. This allows
for fully qualified (no more relative imports please) module as settings. - 18. By Zygmunt Krynicki
-
Add an ability to test more than one application with django_
testproject. tests.run_ tests
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:django-testscenarios