summaryrefslogtreecommitdiff
path: root/tests/timezones
AgeCommit message (Collapse)Author
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-29Fixed #27544 -- Fixed QuerySet.update(dt=F('dt') + timedelta) crash on SQLite.Andrew Nester
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-09-13Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵Mads Jensen
assertSequenceEqual().
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-06Refs #26712 -- Removed workarounds for PostgreSQL queries on TIME_ZONE changes.Simon Charette
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-02-06Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-11-24Removed explicit User ids in tests.Tim Graham
2015-11-03Fixed #25668 -- Misc spelling errorsVille Skyttä
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-09Adjusted tests that were messing with database connections too heavily.Aymeric Augustin
The previous implementation would result in tests hitting the wrong database when running tests in parallel on multiple databases.
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-06-08Fixed #21927 -- Made application and instance namespaces more distinct.Marten Kenbeek
Made URL application namespaces be set in the included URLconf and instance namespaces in the call to include(). Deprecated other ways to set application and instance namespaces.
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-05-17Added tzinfo to a test to fix RuntimeWarning.Tim Graham
2015-05-17Factored skip condition when pytz isn't installed.Aymeric Augustin
2015-05-17Dropped the needs_datetime_string_cast feature.Aymeric Augustin
It has been superseded by the converter infrastructure.
2015-05-17Worked around a bug when chaining skipIf/UnlessDBFeature.Aymeric Augustin
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-17Removed global timezone-aware datetime adapters.Aymeric Augustin
Refs #23820. Fixed #19738. Refs #17755. In order not to introduce a regression for raw queries, parameters are passed through the connection.ops.value_to_db_* methods, depending on their type.
2015-05-17Removed global timezone-aware datetime converters.Aymeric Augustin
Refs #23820.
2015-04-15Updated tests to stop leaking models in shared AdminSite.Riccardo Magliocchetti
This would break upcoming changes and AdminSite assumptions about having an app_config for each application that has registered models.
2015-04-02Fixed #24558 -- Made dumpdata mapping ordering deterministic.Simon Charette
Thanks to gfairchild for the report and Claude for the review.
2015-03-05Converted test fixtures to setUpTestData methodsJosh Smeaton
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-01-12Fixed #24124 (again) -- Updated tests with new default context_processors.Aymeric Augustin
Thanks Collin for the review.
2014-12-28Moved context_processors from django.core to django.template.Aymeric Augustin
2014-05-16Optimized make_aware/naive by removing redundant checks. Refs #22625.Aymeric Augustin
Also added tests with pytz and removed misplaced tests.
2014-04-06Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-03-21Fixed typo in comments.Aymeric Augustin
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-12-14Fixed E127 pep8 warnings.Loic Bistuer
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed flake8 E241Boryslav Larin
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-13Fixed #19560 -- Identified field in warning for naive datetime.Aymeric Augustin
Thanks gcc for the report and vajrasky for the patch.
2013-10-01Factorized requires_tz_support decorator in test utilsClaude Paroz
Thanks Aymeric Augustin for the suggestion. Refs #21165.