Re: [Django] #8754: PYTHONPATH not passed through to regressiontests/admin_scripts/AdminScriptTestCase.run_test()

5 views
Skip to first unread message

Django

unread,
May 5, 2011, 2:44:15 PM5/5/11
to django-...@googlegroups.com
#8754: PYTHONPATH not passed through to
regressiontests/admin_scripts/AdminScriptTestCase.run_test()
-------------------------------------+-------------------------------------
Reporter: Richard | Owner: nobody
Davies <richard.davies@…> | Status: new
Type: Bug | Component: Testing framework
Milestone: | Severity: Normal
Version: SVN | Keywords:
Resolution: | Has patch: 1
Triage Stage: Accepted | Needs tests: 0
Needs documentation: 0 | Easy pickings: 0
Patch needs improvement: 1 |
-------------------------------------+-------------------------------------
Changes (by patchhammer):

* needs_better_patch: 0 => 1
* easy: => 0


Comment:

8754_run_test_aggressive.diff fails to apply cleanly on to trunk

--
Ticket URL: <http://code.djangoproject.com/ticket/8754#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 23, 2012, 2:54:48 PM8/23/12
to django-...@googlegroups.com
#8754: PYTHONPATH not passed through to
regressiontests/admin_scripts/AdminScriptTestCase.run_test()
-------------------------------------+-------------------------------------
Reporter: Richard Davies | Owner: nobody
<richard.davies@…> | Status: new
Type: Bug | Version: master
Component: Testing framework | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by akaariai):

I just hit this issue, I ran tests using this setup:
{{{
cd tests
ln -s ../django django
./runtests --settings=test_sqlite admin_scripts
}}}
However, the tests use my system's Django, not the django from
tests/django. Using virtualenv for test setup fixed this.

--
Ticket URL: <https://code.djangoproject.com/ticket/8754#comment:14>

Django

unread,
Jan 7, 2015, 1:33:06 PM1/7/15
to django-...@googlegroups.com
#8754: PYTHONPATH not passed through to
regressiontests/admin_scripts/AdminScriptTestCase.run_test()
-------------------------------------+-------------------------------------
Reporter: Richard Davies | Owner: nobody
<richard.davies@…> |
Type: Bug | Status: closed
Component: Testing framework | Version: master
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):

* status: new => closed
* resolution: => wontfix


Comment:

I think using a virtual environment is the correct solution these days.

--
Ticket URL: <https://code.djangoproject.com/ticket/8754#comment:15>

Reply all
Reply to author
Forward
0 new messages