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,6 +5931,9 @@ class FakeRequest(object):
class FakeField(object): class FakeField(object):
def __init__(self, *values): def __init__(self, *values):
if len(values) == 1:
self.value = values[0]
else:
self.value = list(values) self.value = list(values)