summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-02-09Fixed #29391 -- Made PostgresSimpleLookup respect Field.get_db_prep_value().Vinay Karanam
2019-02-09Removed default empty content argument from HttpResponse calls.Jon Dufresne
2019-02-09Fixed #30153 -- Fixed incorrect form Media asset ordering after three way merge.Matthias Kestenholz
Delaying merging assets as long as possible avoids introducing incorrect relative orderings that cause a broken final result.
2019-02-09Removed uneeded generator expressions and list comprehensions.Sergey Fedoseev
2019-02-09Removed uneeded iter() calls with generator expression as argument.Sergey Fedoseev
2019-02-09Refs #26608 -- Added a database feature for fixed frame range distance support.Simon Charette
2019-02-09Fixed #30027 -- Errored out on Window function usage if unsupported.Simon Charette
2019-02-09Refs #30027 -- Enabled window function tests on SQLite 3.25+.Simon Charette
2019-02-09Dropped support for GEOS 3.4.Tim Graham
2019-02-08Fixed #30004 -- Changed default FILE_UPLOAD_PERMISSION to 0o644.Himanshu Lakhara
2019-02-08Fixed #30166 -- Dropped support for GDAL 1.11.Tim Graham
2019-02-08Fixed #30165 -- Deprecated ugettext(), ugettext_lazy(), ugettext_noop(), ↵Jon Dufresne
ungettext(), and ungettext_lazy().
2019-02-07Fixed #16027 -- Added app_label to ContentType.__str__().Gregory N. Schmit
2019-02-06Removed unnecessary type() calls for class methods.Jon Dufresne
2019-02-06Refs #27753 -- Favored SafeString over SafeText.Tim Graham
2019-02-06Refs #27753 -- Deprecated django.utils.encoding.force_text() and smart_text().Tim Graham
2019-02-06Refs #27753 -- Favored force/smart_str() over force/smart_text().Aymeric Augustin
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
Dicts preserve order since Python 3.6.
2019-02-06Refs #27804 -- Used subTest() in admin_scripts invalid name tests.Jon Dufresne
2019-02-05Simplified temporary directory handling in AdminScriptTestCase.Jon Dufresne
Use tempfile.TemporaryDirectory() in AdminScriptTestCase.setUp() to create and destroy a temporary directory for each test. It removes the need for individual tests to delete files. For test classes that don't use the temporary directory, inherit from SimpleTestCase.
2019-02-05Replaced manual current directory management with subprocess's cwd argument.Jon Dufresne
2019-02-05Removed redundant os.chdir() in RunInTmpDirMixin child classes.Jon Dufresne
setUp() already calls os.chdir(self.test_dir).
2019-02-05Removed unused branch from SymlinkExtractorTests.test_symlink().Jon Dufresne
Unused since bb7bb379e8cd91a91336946829519d64e919a1d2. SymlinkExtractorTests.test_dir, which contains SymlinkExtractorTests.symlinked_dir, is deleted after every test.
2019-02-05Removed unused RunInTmpDirMixin.rmfile().Jon Dufresne
Unused since bb7bb379e8cd91a91336946829519d64e919a1d2.
2019-02-04Refs #27753 -- Deprecated django.utils.http urllib aliases.Tim Graham
2019-02-04Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.Tim Graham
2019-02-02Fixed #29393 -- Prevented infinite loop in ↵Vinay Karanam
ExceptionReporter.get_traceback_frames().
2019-01-31Fixed #30020 -- Fixed reading nulls with LayerMapping.Kathryn Killebrew
2019-01-31Fixed #30147 -- Simplified directory creation with os.makedirs(..., ↵Jon Dufresne
exist_ok=True).
2019-01-30Refs #29444 -- Renamed DatabaseFeatures.can_return_id* to be generic for ↵Johannes Hoppe
other columns.
2019-01-30Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty.Joshua Cannon
2019-01-30Fixed #30116 -- Dropped support for Python 3.5.Tim Graham
2019-01-29Fixed #30108 -- Allowed adding foreign key constraints in the same statement ↵Dan Tao
that adds a field.
2019-01-29Refs #30137 -- Fixed template test on Windows.Tim Graham
Broken in 7785e03ba89aafbd949191f126361fb9103cb980.
2019-01-28Fixed #29973 -- Added compilemessages --ignore option.rsiemens
2019-01-28Refs #29973 -- Extracted helper functions from makemessages.rsiemens
2019-01-28Fixed #29825 -- Fixed JS ngettext if the string is a non-plural msgid in the ↵Claude Paroz
catalog.
2019-01-28Fixed #25624 -- Fixed autoreload crash with jinja2.ModuleLoader.Tom Forbes
2019-01-28Made test table cleanup in OperationTestBase more robust.Paveł Tyślacki
Some non-unique constraint names were added in b69f8eb04cc8762d3dfd5af5ea1fc58e3f2ebcc3 which resulted in failures depending on the order in which tests were run.
2019-01-28Fixed #30137 -- Replaced OSError aliases with the canonical OSError.Jon Dufresne
Used more specific errors (e.g. FileExistsError) as appropriate.
2019-01-28Refs #30055 -- Added a helpful error when SQLite is too old.Tim Graham
2019-01-27Removed default mode='r' argument from calls to open().Jon Dufresne
2019-01-27Refs #23919 -- Replaced codecs.open() with open().Jon Dufresne
On Python 3, open() handles encodings.
2019-01-26Added missing assert in ↵Jon Dufresne
FileBasedCacheTests.test_creates_cache_dir_if_nonexistent().
2019-01-25Fixed grammar in FakePayload exception message.Jon Dufresne
2019-01-23Completed test coverage for utils.text._replace_entity().Hasan Ramezani
2019-01-23Fixed #30123 -- Removed tuple support in DatabaseIntrospection.get_field_type().Nick Pope
Support for returning tuples was undocumented and error prone.
2019-01-23Refs #30111 -- Fixed test cleanup in postgres_tests/test_integration.py.Tim Graham
Fixed "ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?" on Jenkins because report files were put in tests/postgres_tests.
2019-01-22Fixed #30111 -- Fixed AppRegistryNotReady error with django.contrib.postgres ↵Nasir Hussain
in INSTALLED_APPS. Regression in e192223ed996ed30fe83787efdfa7f2be6b1a2ee.
2019-01-21Made assertOptimizesTo() more strict in migrations tests.Vytis Banaitis
A recursive deconstruction is needed because comparing deconstructed operations doesn't check field attributes. Fixed typo in failing test.