summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-03-07Added a ManyToManyField(db_constraint=False) option, this allows not ↵Alex Gaynor
creating constraints on the intermediary models.
2013-03-07Fix 19916. Smarter tokenizing of contrib.comment's templatetags arguments.Baptiste Mispelon
2013-03-07Fixed #19997 -- Added custom EMPTY_VALUES to form fieldsClaude Paroz
Thanks Loic Bistuer for the report and the patch.
2013-03-06Fixed #19951 -- Admin: Invalid model PK values shouldn't cause 500 status.Igor Támara
Avoid ValueError in admin when passing a string as PK for an inherited model with an integer PK field. Thanks ikks for the patch. See also #11191.
2013-03-06Merge pull request #882 from loic/testfixRamiro Morales
Fixed minor warnings in tests.
2013-03-06PEP8 cleanup of functional.pyPreston Holmes
2013-03-06Fixed #19543 -- implemented SimpleLazyObject.__repr__Preston Holmes
Thanks to Florian Hahn for the patch
2013-03-06Used more precise test assertions.Aymeric Augustin
2013-03-06Fixed minor warnings in tests.Loic Bistuer
2013-03-04Fixed #6585 -- Admin relationship widgets: Respect ordering defined by ↵Juan Pedro Fisanotti
target model's ModelAdmin. Thanks Gary Wilson for the report and Juan Pedro Fisanotti, Carlos Matías de la Torre for the fix.
2013-03-04Fixed #19838 -- Admin: Don't leak a 500 HTTP status when trying to delete ↵Javier Mansilla
protected FKs. Thanks rafadev for the report and Javier Mansilla for the fix.
2013-03-03Removed mentions of modeltests.Ramiro Morales
2013-03-03Fixed #19915 - Made blocktrans tag honor TEMPLATE_STRING_IF_INVALID.matiasb
Thanks Natalia Bidart for the report and Matías Bordese for the fix.
2013-03-02Fixed #19917 -- Added microseconds in default TIME_INPUT_FORMATSClaude Paroz
Thanks minddust for the report.
2013-03-02Fixed #18130 -- Made the isolation level configurable on PostgreSQL.Aymeric Augustin
Thanks limscoder for the report and niwi for the draft patch.
2013-03-02Add introspection support for BinaryFieldClaude Paroz
2013-03-02Added support for serializing BinaryFieldClaude Paroz
2013-03-02Add a BinaryField model fieldClaude Paroz
Thanks Michael Jung, Charl Botha and Florian Apolloner for review and help on the patch.
2013-03-02Import `CaptureQueriesContext` from its original module.Simon Charette
2013-03-02Fixed #10399 -- Tested that o2o field updates are not constrained by an ↵Simon Charette
inner query.
2013-03-02Added a context manager to capture queries while testing.Simon Charette
Also made some import cleanups while I was there. Refs #10399.
2013-03-01Fixed #18898 -- Added tests with a fix for ModelMultipleChoiceFieldClaude Paroz
2013-03-01Fixed #16612 -- Improved has_changed detection for localized field valuesClaude Paroz
Thanks Simon Charette for the review.
2013-02-28Fixed tests broken in 2ee21d9.Aymeric Augustin
2013-02-28Implemented persistent database connections.Aymeric Augustin
Thanks Anssi Kääriäinen and Karen Tracey for their inputs.
2013-02-28Fixed #5241 -- Kept active transalation in LocaleMiddleware.process_response.Aymeric Augustin
2013-02-28Fixed #12823 -- Was already fixed in master, tests addedAnssi Kääriäinen
Also added a little improvement to sql/query.py to get rid of non-necessary IS NOT NULL check.
2013-02-27use the real path to fix OS X /var/folders vs. /private/var/folders mismatchŁukasz Langa
2013-02-27Made dateformat tests reactivate original languageAnssi Kääriäinen
2013-02-27Fixed a test that relied on database exceptions not being wrapped.Aymeric Augustin
2013-02-27Fixed a PendingDeprecationWarning in template_tests.Aymeric Augustin
2013-02-27Fixed #19861 -- Transaction ._dirty flag improvementAnssi Kääriäinen
There were a couple of errors in ._dirty flag handling: * It started as None, but was never reset to None. * The _dirty flag was sometimes used to indicate if the connection was inside transaction management, but this was not done consistently. This also meant the flag had three separate values. * The None value had a special meaning, causing for example inability to commit() on new connection unless enter/leave tx management was done. * The _dirty was tracking "connection in transaction" state, but only in managed transactions. * Some tests never reset the transaction state of the used connection. * And some additional less important changes. This commit has some potential for regressions, but as the above list shows, the current situation isn't perfect either.
2013-02-27[py3] Always fed hashlib with bytes.Łukasz Langa
2013-02-26Removed a .mo file incorrectly put under Git control.Ramiro Morales
2013-02-26Simplified compilemessages tests a bit.Ramiro Morales
2013-02-26Don't use os.system() in compilemessages.Ramiro Morales
Fixes #19584. This implies stop storing file path command line arguments in envvars as a security measure to start relying on with Popen's shell=False instead, and addition of an 'utils' module. Thanks kmichel_wgs for the report.
2013-02-26Fixed i18n test to match changed translationClaude Paroz
Forward port of ab6ff2e0ac from stable/1.5
2013-02-26Fixed discovery of the Django installation during tests.Florian Apolloner
If Django was symlinked into site-packages the previous approach to discover the tests subdirectory would fail. The revised version now always points to the location of the source and not the import path.
2013-02-26Changed test_runner tests to use full python path for settings files.Florian Apolloner
2013-02-26fixed admin_scripts tests on python 3.3Florian Apolloner
2013-02-26Ensured that we have an absolute path to RUNTESTS_DIR.Florian Apolloner
This is needed to make 'python runtests.py' work, otherwise only 'python ./runtests.py' would work.
2013-02-26Renamed a template to be found by the loaders.Florian Apolloner
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Adjusted coveragercFlorian Apolloner
2013-02-26Adjusted runtests to the new layout.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-02-26Removed __init__.py files.Florian Apolloner
2013-02-26Moved test_templates to templates to prevent issues with ↵Florian Apolloner
regressiontests/templates later on.
2013-02-26Updated an inaccurate comment.Aymeric Augustin
Tests can run nearly as fast under PostgreSQL and MySQL as under SQLite with a bit of configuration and the speedup is always a good thing.
2013-02-25Fixed a caching test on Python 3.Carl Meyer