Actually, this is somewhat on topic as it involves running the Django test 
suite.

To solve the failure, add this to your test settings:

PASSWORD_HASHERS = [
    'django.contrib.auth.hashers.MD5PasswordHasher',
]

It seems like a bug that that test assumes MD5PasswordHasher.

As for the skipped tests, the skips might be expected. Run runtests.py with 
"-v 2" to see the reason.

On Thursday, January 23, 2020 at 2:08:15 PM UTC-5, Pratik kumar wrote:
>
> I was running the test With for GeoDjnago using the following commands
> ./runtests.py --settings=postgis
> with the following settings file
> DATABASES = {
>     'default': {
>         'ENGINE': 'django.contrib.gis.db.backends.postgis',
>         'NAME':'defaultd',
>         'USER': 'user',
>         'PASSWORD':'password',
>         'HOST': '127.0.0.1',
>         'PORT': '5432',
>     },
>     'other': {
>         'ENGINE': 'django.contrib.gis.db.backends.postgis',
>         'NAME':'otherd',
>         'USER': 'user',
>         'PASSWORD':'password',
>         'HOST': '127.0.0.1',
>         'PORT': '5432',
>     }
> }
> SECRET_KEY = 'django_tests_secret_key'
> Got the following error, can't seem to understand the reason behind it. 
> how can i remove it
>
> [image: Screenshot from 2020-01-23 23-54-14.png]
>
>
> Also when i run test specifically for geoDjango there are 13 tests which 
> are skipped how to avoid skipping those tests.
>
> Any help will be appreciated
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/0b0a766d-aed9-4f2c-bb64-43112b2de63e%40googlegroups.com.

Reply via email to