Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/backends
Commit message (Collapse)AuthorAgeFilesLines
* Refs #12118 -- Allowed "mode=memory" in SQLite test ↵Riccardo Magliocchetti2015-10-061-0/+24
| | | | database names.
* Refs #14091 -- Fixed connection.queries on SQLite.Aymeric Augustin2015-09-171-3/+13
|
* Fixed #25400 -- Fixed regression in nonexistent features ↵Daniel Hahler2015-09-171-0/+8
| | | | on gis backends.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-8/+32
|
* Fixed #25329 -- Prevented _nodb_connection from being ↵Adam Chainz2015-09-111-2/+0
| | | | left open
* Changed database connection duplication technique.Aymeric Augustin2015-09-091-17/+9
| | | | | | This new technique is more straightforward and compatible with test parallelization, where the effective database connection settings no longer match settings.DATABASES.
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-2/+0
|
* Fixed #25175 -- Renamed the postgresql_psycopg2 database ↵Caio Ariede2015-08-072-5/+5
| | | | backend to postgresql.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-5/+9
| | | | on_delete for ForeignKey/OneToOneField
* Fixed db.utils.load_backend() on non-ASCII paths.Tim Graham2015-07-171-4/+3
|
* Filtered out 'base' from database backend choices error ↵Tim Graham2015-07-151-0/+17
| | | | message.
* Cleanup: Removed the try-except-fail antipattern from testsShai Berger2015-06-051-4/+1
| | | | | | | | | | | | | | | | | | 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
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-4/+4
|
* Fixed #23820 -- Supported per-database time zone.Aymeric Augustin2015-05-171-8/+14
| | | | | | | | | 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.
* Fixed #24791 -- Added fallback when 'postgres' database ↵Claude Paroz2015-05-151-0/+26
| | | | | | isn't available Thanks Carl Meyer and Tim Graham for the reviews.
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-1/+1
| | | | | | | | 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.
* Fixed #24335 -- Bumped required psycopg2 version to ↵Tim Graham2015-02-171-3/+3
| | | | 2.4.5 (2.5 for contrib.postgres).
* Fixed #24318 -- Set the transaction isolation level with ↵Aymeric Augustin2015-02-141-0/+28
| | | | psycopg >= 2.4.2.
* Fixed E265 comment styleCollin Anderson2015-02-061-7/+7
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-9/+13
|
* Fixed #24154 -- Backends can now check support for ↵Josh Smeaton2015-01-271-3/+10
| | | | expressions
* Fixed typos in code comments.Adam Taylor2015-01-201-1/+1
|
* Removed support for old-style test database settings per ↵Tim Graham2015-01-171-121/+1
| | | | deprecation timeline.
* Fixed #22603 -- Reorganized classes in django.db.backends.Tim Graham2015-01-141-1/+1
|
* Fixed #12663 -- Formalized the Model._meta API for ↵Daniel Pyrathon2015-01-071-1/+1
| | | | | | | retrieving fields. Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-9/+6
|
* Removed unused import.Tim Graham2014-12-301-1/+0
|
* Fixed #12118 -- Added shared cache support to SQLite ↵Andriy Sokolovskiy2014-12-301-0/+19
| | | | in-memory testing.
* Fixed #22279 -- Prevented dummy backend going through ↵Claude Paroz2014-12-291-0/+2
| | | | | | DatabaseErrorWrapper Thanks Daniel Hahler for the report and Tim Graham for the review.
* Replaced DatabaseCreation sql methods by schema editor ↵Claude Paroz2014-12-231-3/+4
| | | | | | | equivalents Also used schema editor in migrate to sync unmigrated apps (sync_apps). Refs #22340. Thanks Tim Graham for the review.
* Fixed #23812 -- Changed django.utils.six.moves.xrange ↵Michael Hall2014-12-131-2/+2
| | | | imports to range
* Fixed #23941 -- Removed implicit decimal formatting from ↵Josh Smeaton2014-12-121-1/+17
| | | | expressions.
* Fixed #20392 -- Added TestCase.setUpTestData()Thomas Chaumeny2014-12-031-8/+11
| | | | Each TestCase is also now wrapped in a class-wide transaction.
* Fixed #23807 -- Ignored non-digits in psycopg2 versionAndriy Sokolovskiy2014-12-021-1/+11
|
* Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-041-2/+2
|
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-3/+3
| | | | Django test suite.
* Fixed #23514 -- Prevented queries in PostGISOperations initClaude Paroz2014-09-181-0/+8
| | | | Thanks Mattia Procopio for the report.
* Fixed #18757, #14462, #21565 -- Reworked database-python ↵Marc Tamlyn2014-09-031-12/+0
| | | | | | | | | | | | | | type conversions 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.
* Fixed #23144 -- Dropped support for MySQL 5.0, 5.1.Tim Graham2014-08-021-24/+0
|
* Fixed #23108 -- Dropped support for PostgreSQL 8.4 & ↵Tim Graham2014-08-011-8/+8
| | | | | | PostGIS 1.3, 1.4. Thanks Claude Paroz for the review.
* Fixed #13711 -- Model check added to ensure that ↵Anubhav Joshi2014-06-172-18/+13
| | | | | | auto-generated column name is within limits of the database. Thanks russellm for report and Tim Graham for review.
* Silenced deprecation warnings for refs #22811 and fixed ↵Tim Graham2014-06-121-2/+9
| | | | build.
* Fixed #22811 -- Allowed setting both the old and new ↵Tim Graham2014-06-121-0/+116
| | | | | | TEST database settings. An ImproperlyConfigured exception will be raised they mismatch.
* Fixed flake8 error.Tim Graham2014-06-081-1/+0
|
* Fixed test again. Refs #12581.Aymeric Augustin2014-06-071-0/+5
|
* Made a test compatible with Python 2 and 3.Aymeric Augustin2014-06-071-1/+1
|
* Fixed #3711, #6734, #12581 -- Bounded connection.queries.Aymeric Augustin2014-06-071-2/+60
| | | | | | | Prevented unlimited memory consumption when running background tasks with DEBUG=True. Thanks Rob, Alex, Baptiste, and others.
* Avoided using BinaryField unecessarily in tests.Aymeric Augustin2014-06-052-4/+7
| | | | | | | | 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.
* Replaced vendor checks by three feature flags.Aymeric Augustin2014-05-081-4/+1
|
* Reorganized backends tests.Aymeric Augustin2014-05-081-200/+147
| | | | This reduces the number of explicit vendor checks.