diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-18 17:38:53 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-18 17:38:53 +0000 |
| commit | c681f4070c2095eae9635d13233e8d5fad5240f1 (patch) | |
| tree | 616996b9bd21315df602bfc3b0b645f682118571 /tests | |
| parent | d261c1d000cfe05c6f3e290ca6b993606aed7f63 (diff) | |
Removed the mysql_old backend. It smells bad and has no friends.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modeltests/fixtures/models.py | 2 | ||||
| -rw-r--r-- | tests/modeltests/lookup/models.py | 2 | ||||
| -rw-r--r-- | tests/modeltests/transactions/models.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/modeltests/fixtures/models.py b/tests/modeltests/fixtures/models.py index 5b53115733..8f8893ac88 100644 --- a/tests/modeltests/fixtures/models.py +++ b/tests/modeltests/fixtures/models.py @@ -58,7 +58,7 @@ __test__ = {'API_TESTS': """ # Database flushing does not work on MySQL with the default storage engine # because it requires transaction support. -if settings.DATABASE_ENGINE not in ('mysql', 'mysql_old'): +if settings.DATABASE_ENGINE != 'mysql': __test__['API_TESTS'] += \ """ # Reset the database representation of this app. This will delete all data. diff --git a/tests/modeltests/lookup/models.py b/tests/modeltests/lookup/models.py index 7a53e93aec..3261a678d6 100644 --- a/tests/modeltests/lookup/models.py +++ b/tests/modeltests/lookup/models.py @@ -380,7 +380,7 @@ FieldError: Join on field 'headline' not permitted. """} -if settings.DATABASE_ENGINE not in ('mysql', 'mysql_old'): +if settings.DATABASE_ENGINE != 'mysql': __test__['API_TESTS'] += r""" # grouping and backreferences >>> Article.objects.filter(headline__regex=r'b(.).*b\1') diff --git a/tests/modeltests/transactions/models.py b/tests/modeltests/transactions/models.py index a3222cd511..06d21bbdd4 100644 --- a/tests/modeltests/transactions/models.py +++ b/tests/modeltests/transactions/models.py @@ -25,7 +25,7 @@ from django.conf import settings building_docs = getattr(settings, 'BUILDING_DOCS', False) -if building_docs or settings.DATABASE_ENGINE not in ('mysql', 'mysql_old'): +if building_docs or settings.DATABASE_ENGINE != 'mysql': __test__['API_TESTS'] += """ # the default behavior is to autocommit after each save() action >>> def create_a_reporter_then_fail(first, last): |
