mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-11 06:43:54 +00:00
test_provisioning: STAN is not always a list. Fix by David-Sarah Hopwood.
This commit is contained in:
parent
2e098e2a4d
commit
01a7630334
@ -28,7 +28,7 @@ class Provisioning(unittest.TestCase):
|
|||||||
#ctx = RequestContext()
|
#ctx = RequestContext()
|
||||||
#unfilled = pt.renderSynchronously(ctx)
|
#unfilled = pt.renderSynchronously(ctx)
|
||||||
lots_of_stan = pt.do_forms(self.getarg)
|
lots_of_stan = pt.do_forms(self.getarg)
|
||||||
self.failUnlessEqual(type(lots_of_stan), list)
|
self.failUnless(lots_of_stan is not None)
|
||||||
|
|
||||||
self.fields = {'filled': True,
|
self.fields = {'filled': True,
|
||||||
"num_users": 50e3,
|
"num_users": 50e3,
|
||||||
@ -45,7 +45,7 @@ class Provisioning(unittest.TestCase):
|
|||||||
}
|
}
|
||||||
#filled = pt.renderSynchronously(ctx)
|
#filled = pt.renderSynchronously(ctx)
|
||||||
more_stan = pt.do_forms(self.getarg)
|
more_stan = pt.do_forms(self.getarg)
|
||||||
self.failUnlessEqual(type(more_stan), list)
|
self.failUnless(more_stan is not None)
|
||||||
|
|
||||||
# trigger the wraparound configuration
|
# trigger the wraparound configuration
|
||||||
self.fields["num_servers"] = 5
|
self.fields["num_servers"] = 5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user