mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 10:01:54 +00:00
Name the pem so it gets installed
Also use the new_tub helper that reads the pem so we don't have to generate a new cert in this test
This commit is contained in:
parent
386f30fa79
commit
8278fa9c62
@ -527,7 +527,7 @@ def new_tub():
|
||||
# Use a pre-generated key so the tests don't spend a lot of time
|
||||
# generating new ones.
|
||||
data = FilePath(__file__).sibling(b"data")
|
||||
privkey = data.child(b"node.pem")
|
||||
privkey = data.child(b"node.pem.txt")
|
||||
return Tub(
|
||||
certData=privkey.getContent(),
|
||||
)
|
||||
@ -698,7 +698,7 @@ storage:
|
||||
|
||||
def add_one_server(x):
|
||||
data["anonymous-storage-FURL"] = b"pb://%s@spy:nowhere/fake" % (base32.b2a(b"%d" % x),)
|
||||
tub = Tub()
|
||||
tub = new_tub()
|
||||
connects = []
|
||||
spy = SpyHandler(connects)
|
||||
tub.addConnectionHintHandler("spy", spy)
|
||||
|
Loading…
x
Reference in New Issue
Block a user