mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-07 03:40:14 +00:00
Pass the right number of args to reconfigure
This commit is contained in:
parent
49b513fefc
commit
aa58faddaf
@ -62,9 +62,9 @@ def test_data(data):
|
|||||||
@mark.parametrize('convergence', CONVERGENCE_SECRETS)
|
@mark.parametrize('convergence', CONVERGENCE_SECRETS)
|
||||||
@mark.parametrize('data', OBJECT_DATA)
|
@mark.parametrize('data', OBJECT_DATA)
|
||||||
@ensureDeferred
|
@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
|
# 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
|
# upload data as a CHK
|
||||||
actual = upload_immutable(alice, data)
|
actual = upload_immutable(alice, data)
|
||||||
@ -91,6 +91,7 @@ def insert(item: tuple[α, β], d: dict[α, β]) -> dict[α, β]:
|
|||||||
d[item[0]] = item[1]
|
d[item[0]] = item[1]
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
|
||||||
@ensureDeferred
|
@ensureDeferred
|
||||||
async def test_generate(reactor, request, alice):
|
async def test_generate(reactor, request, alice):
|
||||||
results = await asyncfoldr(
|
results = await asyncfoldr(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user