https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/
 
has the details.

On Tuesday, October 31, 2017 at 9:44:31 AM UTC-4, terberh wrote:
>
> Hi, 
>
>
> I am looking for a way to contributing to Django 
>
> project. I am starting with triaging and choose 
>
> this ticket[0] that seems simple. 
>
>
> [0] - https://code.djangoproject.com/ticket/28719 
>
>
> First I ran 'tox' but had problems with 'py3': 
>
>
> django.core.exceptions.ImproperlyConfigured: Requested 
>
> setting INSTALLED_APPS, but settings are not configured. 
>
> You must either define the environment variable 
>
> DJANGO_SETTINGS_MODULE or call settings.configure() 
>
> before accessing settings. 
>
> ERROR: InvocationError: 
> '/tmp/Django-test/django-clone/django/.tox/py3/bin/python runtests.py' 
>
>
> Then I did a 'git clone', and I am trying to run tests 
>
> on 'generic_views' but got an Import Error: 
>
>
> ImportError: No module named 'path' 
>
>
> How do I run the tests? 
>
>
>
>
> Regards, 
>
> Herbert 
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/46245370-172d-497b-8cd5-c6710c3b1794%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to