mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
make tests reflect reality
This commit is contained in:
parent
46f1f952e9
commit
161c876f2f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user