summaryrefslogtreecommitdiff
path: root/tests/backends
AgeCommit message (Collapse)Author
2015-11-14Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite.Simon Charette
2015-10-06Refs #12118 -- Allowed "mode=memory" in SQLite test database names.Riccardo Magliocchetti
2015-09-17Refs #14091 -- Fixed connection.queries on SQLite.Aymeric Augustin
2015-09-17Fixed #25400 -- Fixed regression in nonexistent features on gis backends.Daniel Hahler
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-11Fixed #25329 -- Prevented _nodb_connection from being left openAdam Chainz
2015-09-09Changed database connection duplication technique.Aymeric Augustin
This new technique is more straightforward and compatible with test parallelization, where the effective database connection settings no longer match settings.DATABASES.
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-08-07Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.Caio Ariede
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-07-17Fixed db.utils.load_backend() on non-ASCII paths.Tim Graham
2015-07-15Filtered out 'base' from database backend choices error message.Tim Graham
2015-06-05Cleanup: Removed the try-except-fail antipattern from testsShai Berger
Found cases where testing code was doing try: whatever except (some excption type): self.fail("exception shouldn't be thrown") replaced it with just whatever as this makes the unexpected errors easier to debug, and the tests would fail just as much and aren't rendered less readable. Thanks Markus Holtermann for review
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-05-17Fixed #23820 -- Supported per-database time zone.Aymeric Augustin
The primary use case is to interact with a third-party database (not primarily managed by Django) that doesn't support time zones and where datetimes are stored in local time when USE_TZ is True. Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ is False used to result in silent data corruption. Now this is an error.
2015-05-15Fixed #24791 -- Added fallback when 'postgres' database isn't availableClaude Paroz
Thanks Carl Meyer and Tim Graham for the reviews.
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True.
2015-02-16Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for ↵Tim Graham
contrib.postgres).
2015-02-14Fixed #24318 -- Set the transaction isolation level with psycopg >= 2.4.2.Aymeric Augustin
2015-02-06Fixed E265 comment styleCollin Anderson
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-27Fixed #24154 -- Backends can now check support for expressionsJosh Smeaton
2015-01-20Fixed typos in code comments.Adam Taylor
2015-01-17Removed support for old-style test database settings per deprecation timeline.Tim Graham
2015-01-14Fixed #22603 -- Reorganized classes in django.db.backends.Tim Graham
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
2014-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-12-30Removed unused import.Tim Graham
2014-12-30Fixed #12118 -- Added shared cache support to SQLite in-memory testing.Andriy Sokolovskiy
2014-12-29Fixed #22279 -- Prevented dummy backend going through DatabaseErrorWrapperClaude Paroz
Thanks Daniel Hahler for the report and Tim Graham for the review.
2014-12-23Replaced DatabaseCreation sql methods by schema editor equivalentsClaude Paroz
Also used schema editor in migrate to sync unmigrated apps (sync_apps). Refs #22340. Thanks Tim Graham for the review.
2014-12-13Fixed #23812 -- Changed django.utils.six.moves.xrange imports to rangeMichael Hall
2014-12-12Fixed #23941 -- Removed implicit decimal formatting from expressions.Josh Smeaton
2014-12-03Fixed #20392 -- Added TestCase.setUpTestData()Thomas Chaumeny
Each TestCase is also now wrapped in a class-wide transaction.
2014-12-01Fixed #23807 -- Ignored non-digits in psycopg2 versionAndriy Sokolovskiy
2014-11-03Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-09-18Fixed #23514 -- Prevented queries in PostGISOperations initClaude Paroz
Thanks Mattia Procopio for the report.
2014-09-03Fixed #18757, #14462, #21565 -- Reworked database-python type conversionsMarc Tamlyn
Complete rework of translating data values from database Deprecation of SubfieldBase, removal of resolve_columns and convert_values in favour of a more general converter based approach and public API Field.from_db_value(). Now works seamlessly with aggregation, .values() and raw queries. Thanks to akaariai in particular for extensive advice and inspiration, also to shaib, manfre and timograham for their reviews.
2014-08-02Fixed #23144 -- Dropped support for MySQL 5.0, 5.1.Tim Graham
2014-08-01Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.Tim Graham
Thanks Claude Paroz for the review.
2014-06-17Fixed #13711 -- Model check added to ensure that auto-generated column name ↵Anubhav Joshi
is within limits of the database. Thanks russellm for report and Tim Graham for review.
2014-06-12Silenced deprecation warnings for refs #22811 and fixed build.Tim Graham
2014-06-12Fixed #22811 -- Allowed setting both the old and new TEST database settings.Tim Graham
An ImproperlyConfigured exception will be raised they mismatch.
2014-06-07Fixed flake8 error.Tim Graham
2014-06-07Fixed test again. Refs #12581.Aymeric Augustin
2014-06-07Made a test compatible with Python 2 and 3.Aymeric Augustin
2014-06-07Fixed #3711, #6734, #12581 -- Bounded connection.queries.Aymeric Augustin
Prevented unlimited memory consumption when running background tasks with DEBUG=True. Thanks Rob, Alex, Baptiste, and others.
2014-06-05Avoided using BinaryField unecessarily in tests.Aymeric Augustin
Several database backends struggle with binary data. This change minimizes the risk of unrelated tests failures when binary fields trigger errors. Forward-port of 2e4bcb9b from stable/1.7.x.
2014-05-08Replaced vendor checks by three feature flags.Aymeric Augustin