make tests reflect reality
This commit is contained in:
parent
46f1f952e9
commit
161c876f2f
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue