Em 31-10-2017 13:30, Tim Graham escreveu:
> 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 
> <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?


It seems that my problem was fixed after installing 
python3.5-dev Debian package. And redo the env

__________________________________ summary ___________________________________
  py3: commands succeeded
  flake8: commands succeeded
  docs: commands succeeded
  isort: commands succeeded
  congratulations :)

Good to see that message. :)

-- 
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/e60fef59-6209-c6b3-1f29-bd7c2850a254%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to