#33256: Some schema tests don't clean up their tables
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: Mohammad
Type: | Ali Mehdizadeh
Cleanup/optimization | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mohammad Ali Mehdizadeh):
This is my test_postgres.py file:
{{{
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'USER': 'postgres_user',
'PASSWORD': 'postgres_password',
'HOST': 'postgres_host',
'PORT': 'postgres_port',
},
'other': {
'ENGINE': 'django.db.backends.postgresql',
'USER': 'postgres_user',
'PASSWORD': 'postgres_password',
'HOST': 'postgres_host',
'PORT': 'postgres_port',
},
}
SECRET_KEY = "django_tests_secret_key"
# Use a fast hasher to speed up tests.
PASSWORD_HASHERS = [
"django.contrib.auth.hashers.MD5PasswordHasher",
]
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
USE_TZ = False
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33256#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107017f8ddcc5b4-b9bc3831-2c25-4bbe-bf25-ec2e7ded203f-000000%40eu-central-1.amazonses.com.