Pass the right number of args to reconfigure

This commit is contained in:
Jean-Paul Calderone 2022-12-22 11:04:48 -05:00
parent 49b513fefc
commit aa58faddaf

View File

@ -62,9 +62,9 @@ def test_data(data):
@mark.parametrize('convergence', CONVERGENCE_SECRETS)
@mark.parametrize('data', OBJECT_DATA)
@ensureDeferred
async def test_chk_capability(alice, params, convergence, data):
async def test_chk_capability(reactor, request, alice, params, convergence, data):
# rewrite alice's config to match params and convergence
await reconfigure(alice, params, convergence)
await reconfigure(reactor, request, alice, params, convergence)
# upload data as a CHK
actual = upload_immutable(alice, data)
@ -91,6 +91,7 @@ def insert(item: tuple[α, β], d: dict[α, β]) -> dict[α, β]:
d[item[0]] = item[1]
return d
@ensureDeferred
async def test_generate(reactor, request, alice):
results = await asyncfoldr(