]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tox: Remove '--liveserver' parameter
authorStephen Finucane <stephen@that.guru>
Fri, 19 May 2017 14:54:08 +0000 (15:54 +0100)
committerStephen Finucane <stephen@that.guru>
Sun, 3 Dec 2017 20:54:32 +0000 (20:54 +0000)
commit636276eba009ff524ea1096d730a5a0d21859a8e
treebbd2038474eabd5422010478950c7aeca4788e0d
parentddd54ebb3fb022e97d93b4a3d94d0c830b3ad0fb
tox: Remove '--liveserver' parameter

This parameter is no longer supported in Django 1.11 [1]. Remove this
and instead set the 'DJANGO_LIVE_TEST_SERVER_ADDRESS' environment
variable, which will do the same thing for Django < 1.11 and be ignored
by Django >= 1.11.

[1] https://docs.djangoproject.com/en/1.11/releases/1.11/#liveservertestcase-binds-to-port-zero

Signed-off-by: Stephen Finucane <stephen@that.guru>
Tested-by: Daniel Axtens <dja@axtens.net>
tox.ini