Do not hard-code port for package test server. (Bug#23708)

* test/lisp/emacs-lisp/package-resources/package-test-server.py:
Do not hard-code port.
* test/lisp/emacs-lisp/package-tests.el (package-test-update-archives-async):
Update for the above change.
This commit is contained in:
Glenn Morris 2016-06-07 21:25:20 -04:00
parent f4ef1a1fea
commit 3a28d64e27
2 changed files with 25 additions and 13 deletions

View file

@ -10,7 +10,7 @@
if sys.argv[1:]:
port = int(sys.argv[1])
else:
port = 8000
port = 0
server_address = ('127.0.0.1', port)
HandlerClass.protocol_version = Protocol