summaryrefslogtreecommitdiff
path: root/tests/introspection
AgeCommit message (Collapse)Author
2016-08-12Refs #20888 -- Added index order introspection.Akshesh
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-02Fixed #26304 -- Ignored unmanaged through model in table introspection.Matthew Schinckel
2015-12-25Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-02-06Fixed E265 comment styleCollin Anderson
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-12Fixed #17785 -- Preferred column names in get_relations introspectionClaude Paroz
Thanks Thomas Güttler for the report and the initial patch, and Tim Graham for the review.
2015-01-10Introspected alternate SQLite FK definitionsClaude Paroz
2015-01-10Updated introspection test to use skipUnlessDBFeatureClaude Paroz
2014-12-06Refs #23947 -- Fixed introspection test that had a side effect.Diego Guimarães
2014-12-03Fixed #20392 -- Added TestCase.setUpTestData()Thomas Chaumeny
Each TestCase is also now wrapped in a class-wide transaction.
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-09-29Fixed flake8 warnings.Tim Graham
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
Thanks Collin Anderson for the review.
2014-09-24Changed Oracle test-user creation to grant privileges instead of rolesShai Berger
because the roles (specifically RESOURCE) are deprecated. Also added optional support for creating views in tests, and made an introspection test fail (rather than skip) if a view cannot be created due to lacking privileges. Refs #18782 Thanks Tim Graham for review, and Josh Smeaton
2014-09-23Fixed #18782 -- Prevented sql_flush to flush viewsClaude Paroz
Thanks rodolfo_3 for the report and the initial patch, and Josh Smeaton, Shai Berger and Tim Graham for the reviews.
2014-08-27Fixed #23357 -- Added small int introspection support to MySQL backend.Jon Dufresne
In the MySQL backend, updated the can_introspect_small_integer feature flag to True. In data_types_reverse, map FIELD_TYPE.SHORT to a SmallIntegerField. Added test to verify introspecting SmallIntegerFields and fixed existing tests influenced by this change.
2014-07-10Fixed #22988 -- Adjusted an introspection test assertion.Josh Smeaton
Also changed test to use assertNotIn.
2014-07-04Fixed #20631 -- Increased the default EmailField max_length to 254.Tim Graham
Thanks pmartin for the report.
2014-06-14Fixed #22816 -- Corrected Oracle feature flag and fixed introspection testShai Berger
2014-06-05Added a flag for the ability to introspect nullable fields.Aymeric Augustin
Previously this was conflated with another Oracle-specific behavior.
2014-05-10Adjusted refactoring of vendor checks.Aymeric Augustin
Thanks Shai for the thorough review.
2014-05-08Added feature flags for introspection capabilities.Aymeric Augustin
2014-02-02Ensure cursors are closed when no longer needed.Michael Manfre
This commit touchs various parts of the code base and test framework. Any found usage of opening a cursor for the sake of initializing a connection has been replaced with 'ensure_connection()'.
2013-09-14Fixed #21097 - Added DatabaseFeature.can_introspect_autofieldMichael Manfre
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-03-02Add introspection support for BinaryFieldClaude Paroz
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner