[Django] #32245: Replacement for ./manage.py test --liveserver ?

4 views
Skip to first unread message

Django

unread,
Dec 5, 2020, 7:29:53 PM12/5/20
to django-...@googlegroups.com
#32245: Replacement for ./manage.py test --liveserver ?
-------------------------------------+-------------------------------------
Reporter: rhedin | Owner: nobody
Type: | Status: new
Uncategorized |
Component: Testing | Version: 3.1
framework |
Severity: Normal | Keywords: LiveServerTestCase
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hi. Is there some new method for overriding 127.0.0.1:0 with
LiveServerTestCase? I tried overriding the host and port
properties, but I seem to have not done it correctly. Is there a
recommended "method," not to pun.

--
Ticket URL: <https://code.djangoproject.com/ticket/32245>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 7, 2020, 12:33:58 AM12/7/20
to django-...@googlegroups.com
#32245: Replacement for ./manage.py test --liveserver ?
------------------------------------+--------------------------------------
Reporter: rhedin | Owner: nobody
Type: Uncategorized | Status: closed
Component: Testing framework | Version: 3.1
Severity: Normal | Resolution: invalid
Keywords: LiveServerTestCase | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

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


Comment:

Yes, you should use the `port` attribute, see
[https://docs.djangoproject.com/en/3.1/releases/1.11/#liveservertestcase-
binds-to-port-zero release notes]. Please don't use Trac as a support
channel. Closing per TicketClosingReasons/UseSupportChannels.

--
Ticket URL: <https://code.djangoproject.com/ticket/32245#comment:1>

Reply all
Reply to author
Forward
0 new messages