﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
8636	Test runner sets SERVER_PORT to int	adamlofts	nobody	"The main django wsgi handler sets e.g. SERVER_PORT = '80' but the test runner always sers SERVER_PORT = 80.

Suggested patch:

Index: django/test/client.py
===================================================================
--- django/test/client.py	(revision 8649)
+++ django/test/client.py	(working copy)
@@ -191,7 +191,7 @@
             'REQUEST_METHOD':    'GET',
             'SCRIPT_NAME':       '',
             'SERVER_NAME':       'testserver',
-            'SERVER_PORT':       80,
+            'SERVER_PORT':       '80',
             'SERVER_PROTOCOL':   'HTTP/1.1',
         }
         environ.update(self.defaults)
"		closed	Uncategorized	dev		fixed			Unreviewed	0	0	0	0	0	0
