make tests reflect reality

This commit is contained in:
meejah 2016-05-23 18:19:06 -06:00 committed by Brian Warner
parent 46f1f952e9
commit 161c876f2f

View File

@ -5931,7 +5931,10 @@ class FakeRequest(object):
class FakeField(object):
def __init__(self, *values):
self.value = list(values)
if len(values) == 1:
self.value = values[0]
else:
self.value = list(values)
class FakeClientWithToken(object):